Skip to content

Commit b3b6d42

Browse files
committed
Remove matcher that added in Emacs 27
1 parent 27f280f commit b3b6d42

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

php-mode.el

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
(defconst php-mode-version-number "1.21.0"
1717
"PHP Mode version number.")
1818

19-
(defconst php-mode-modified "2019-01-09"
19+
(defconst php-mode-modified "2019-02-28"
2020
"PHP Mode build date.")
2121

2222
;; This file is free software; you can redistribute it and/or
@@ -675,6 +675,10 @@ might be to handle switch and goto labels differently."
675675
(c-lang-const c-constant-kwds))
676676
:test 'string-equal))))
677677

678+
(c-lang-defconst c-basic-matchers-before
679+
php (cl-remove-if (lambda (elm) (and (listp elm) (equal (car elm) "\\s|")))
680+
(c-lang-const c-basic-matchers-before php)))
681+
678682
(defun php-lineup-cascaded-calls (langelem)
679683
"Line up chained methods using `c-lineup-cascaded-calls',
680684
but only if the setting is enabled"

0 commit comments

Comments
 (0)