Skip to content

Commit

Permalink
Fix emacs-php#491: Remove eager syntax-propertize
Browse files Browse the repository at this point in the history
  • Loading branch information
mallt committed May 2, 2019
1 parent c20b3a7 commit 913e54d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions php-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -1340,12 +1340,7 @@ After setting the stylevars run hooks according to STYLENAME
(setq-local defun-prompt-regexp
"^\\s-*function\\s-+&?\\s-*\\(\\(\\sw\\|\\s_\\)+\\)\\s-*")
(setq-local add-log-current-defun-header-regexp
php-beginning-of-defun-regexp)

(when (>= emacs-major-version 25)
(with-silent-modifications
(save-excursion
(php-syntax-propertize-function (point-min) (point-max))))))
php-beginning-of-defun-regexp))

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

Expand Down

0 comments on commit 913e54d

Please sign in to comment.