We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 85f52b2 + b0f8636 commit 3722847Copy full SHA for 3722847
php-mode.el
@@ -65,8 +65,9 @@
65
;;; Code:
66
67
(require 'cc-mode)
68
+(require 'cc-langs)
69
+
70
(eval-when-compile
- (require 'cc-langs)
71
(require 'cc-fonts))
72
73
;; Boilerplate from other `cc-mode' derived modes. See
@@ -485,11 +486,7 @@ SYMBOL
485
486
php nil)
487
488
(c-lang-defconst c-before-font-lock-functions
- php (let (functions)
489
- (when (fboundp #'c-change-expand-fl-region)
490
- (cl-pushnew 'c-change-expand-fl-region functions))
491
- (when (fboundp #'c-depropertize-new-text)
492
- (cl-pushnew 'c-depropertize-new-text functions))))
+ php (c-get-lang-constant 'c-before-font-lock-functions nil t))
493
494
;; Make php-mode recognize opening tags as preprocessor macro's.
495
;;
0 commit comments