File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 1616(defconst php-mode-version-number " 1.22.1"
1717 " PHP Mode version number." )
1818
19- (defconst php-mode-modified " 2019-11-10"
20- " PHP Mode build date." )
21-
2219; ; This program is free software; you can redistribute it and/or modify
2320; ; it under the terms of the GNU General Public License as published by
2421; ; the Free Software Foundation, either version 3 of the License, or
@@ -346,9 +343,16 @@ In that case set to `NIL'."
346343(defun php-mode-version ()
347344 " Display string describing the version of PHP Mode."
348345 (interactive )
349- (funcall
350- (if (called-interactively-p 'interactive ) #'message #'format )
351- " PHP Mode %s of %s" php-mode-version-number php-mode-modified))
346+ (let ((fmt
347+ (eval-when-compile
348+ (let ((id " $Id$" ))
349+ (concat " PHP Mode %s"
350+ (if (string= id (concat [?$ ?I ?d ?$ ]))
351+ " "
352+ (concat " " id)))))))
353+ (funcall
354+ (if (called-interactively-p 'interactive ) #'message #'format )
355+ fmt php-mode-version-number)))
352356
353357;;;### autoload
354358(define-obsolete-variable-alias 'php-available-project-root-files 'php-project-available-root-files " 1.19.0" )
You can’t perform that action at this time.
0 commit comments