Skip to content

Commit 805f500

Browse files
committed
Remove unnecessary matcher from c-basic-matchers-before for propertization
1 parent 061a794 commit 805f500

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lisp/php-mode.el

+2-1
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,8 @@ might be to handle switch and goto labels differently."
576576
:test 'string-equal))))
577577

578578
(c-lang-defconst c-basic-matchers-before
579-
php (cl-remove-if (lambda (elm) (and (listp elm) (equal (car elm) "\\s|")))
579+
php (cl-remove-if (lambda (elm) (or (and (consp elm) (equal (car elm) "\\s|"))
580+
(functionp elm)))
580581
(c-lang-const c-basic-matchers-before php)))
581582

582583
(c-lang-defconst c-basic-matchers-after

0 commit comments

Comments
 (0)