Skip to content

Commit 913e54d

Browse files
committed
Fix emacs-php#491: Remove eager syntax-propertize
1 parent c20b3a7 commit 913e54d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

php-mode.el

+1-6
Original file line numberDiff line numberDiff line change
@@ -1340,12 +1340,7 @@ After setting the stylevars run hooks according to STYLENAME
13401340
(setq-local defun-prompt-regexp
13411341
"^\\s-*function\\s-+&?\\s-*\\(\\(\\sw\\|\\s_\\)+\\)\\s-*")
13421342
(setq-local add-log-current-defun-header-regexp
1343-
php-beginning-of-defun-regexp)
1344-
1345-
(when (>= emacs-major-version 25)
1346-
(with-silent-modifications
1347-
(save-excursion
1348-
(php-syntax-propertize-function (point-min) (point-max))))))
1343+
php-beginning-of-defun-regexp))
13491344

13501345
(declare-function semantic-create-imenu-index "semantic/imenu" (&optional stream))
13511346

0 commit comments

Comments
 (0)