Skip to content

Commit

Permalink
Remove redundant matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
zonuexe committed Feb 12, 2019
1 parent 27cb806 commit 72f4ae0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions php-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,10 @@ might be to handle switch and goto labels differently."
(c-lang-const c-constant-kwds))
:test 'string-equal))))

(c-lang-defconst c-basic-matchers-before
php (cl-remove-if (lambda (elm) (and (listp elm) (equal (car elm) "\\s|")))
(c-lang-const c-basic-matchers-before php)))

(defun php-lineup-cascaded-calls (langelem)
"Line up chained methods using `c-lineup-cascaded-calls',
but only if the setting is enabled"
Expand Down

0 comments on commit 72f4ae0

Please sign in to comment.