Skip to content

Commit f923fd6

Browse files
committed
Remove unnecessary matcher from c-basic-matchers-before for propertization
1 parent 6164e90 commit f923fd6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lisp/php-mode.el

Lines changed: 2 additions & 1 deletion
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)