Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions php-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -485,9 +485,11 @@ SYMBOL
php nil)

(c-lang-defconst c-before-font-lock-functions
php (if (fboundp #'c-depropertize-new-text)
'(c-depropertize-new-text)
nil))
php (let (functions)
(when (fboundp #'c-change-expand-fl-region)
(cl-pushnew 'c-change-expand-fl-region functions))
(when (fboundp #'c-depropertize-new-text)
(cl-pushnew 'c-depropertize-new-text functions))))

;; Make php-mode recognize opening tags as preprocessor macro's.
;;
Expand Down