From 72f4ae0c01eb0732a8acb458485ee7290393f939 Mon Sep 17 00:00:00 2001 From: USAMI Kenta Date: Wed, 13 Feb 2019 03:52:16 +0900 Subject: [PATCH] Remove redundant matcher --- php-mode.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/php-mode.el b/php-mode.el index 9df5ba74..78e1151d 100644 --- a/php-mode.el +++ b/php-mode.el @@ -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"