@@ -290,13 +290,11 @@ In that case set to `NIL'."
290
290
(defun php-mode-version ()
291
291
" Display string describing the version of PHP Mode."
292
292
(interactive )
293
- (let ((fmt
294
- (eval-when-compile
295
- (let ((id " $Id$" ))
296
- (concat " PHP Mode %s"
297
- (if (string= id (concat [?$ ?I ?d ?$ ]))
298
- " "
299
- (concat " " id)))))))
293
+ (let ((fmt (eval-when-compile (let ((id " $Id$" ))
294
+ (concat " PHP Mode %s"
295
+ (if (string= id (concat [?$ ?I ?d ?$ ]))
296
+ " "
297
+ (concat " " id)))))))
300
298
(funcall
301
299
(if (called-interactively-p 'interactive ) #'message #'format )
302
300
fmt php-mode-version-number)))
@@ -774,9 +772,8 @@ See `php-beginning-of-defun'."
774
772
(save-match-data
775
773
(not (or (re-search-forward html-tag-re (line-end-position ) t )
776
774
(re-search-backward html-tag-re (line-beginning-position ) t )))))
777
- (progn
778
- (goto-char here)
779
- t )
775
+ (prog1 t
776
+ (goto-char here))
780
777
(goto-char here)
781
778
(setq php-warned-bad-indent t )
782
779
(let* ((known-multi-libs '((" mumamo" mumamo (lambda () (nxhtml-mumamo)))
@@ -837,9 +834,9 @@ example `html-mode'. Known such libraries are:\n\t"
837
834
nil ))))
838
835
839
836
(defun php-cautious-indent-region (start end &optional quiet )
840
- " Carefully indent region ` START' ` END' in contexts other than HTML templates.
837
+ " Carefully indent region START to END in contexts other than HTML templates.
841
838
842
- If the optional argument ` QUIET' is non-nil then no syntactic errors are
839
+ If the optional argument QUIET is non-nil then no syntactic errors are
843
840
reported, even if `c-report-syntactic-errors' is non-nil."
844
841
(if (or (not php-mode-warn-if-mumamo-off)
845
842
(not (php-in-poly-php-html-mode))
0 commit comments