We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e10b535 + a67801d commit 328b912Copy full SHA for 328b912
php-mode.el
@@ -1101,8 +1101,8 @@ After setting the stylevars run hooks according to STYLENAME
1101
(setq-local font-lock-constant-face 'php-constant)
1102
1103
(setq-local syntax-propertize-function #'php-syntax-propertize-function)
1104
- (add-to-list (make-local-variable 'syntax-propertize-extend-region-functions)
1105
- #'php-syntax-propertize-extend-region)
+ (add-hook 'syntax-propertize-extend-region-functions
+ #'php-syntax-propertize-extend-region t t)
1106
1107
(setq imenu-generic-expression php-imenu-generic-expression)
1108
0 commit comments