Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f923fd6

Browse files
committedMay 19, 2021
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
 

Diff for: ‎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)
Please sign in to comment.