summaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/php-mode.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp/php-mode.el')
-rw-r--r--.emacs.d/lisp/php-mode.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/.emacs.d/lisp/php-mode.el b/.emacs.d/lisp/php-mode.el
index 364937f..8e72fe3 100644
--- a/.emacs.d/lisp/php-mode.el
+++ b/.emacs.d/lisp/php-mode.el
@@ -16,7 +16,7 @@
16(defconst php-mode-version-number "1.21.0" 16(defconst php-mode-version-number "1.21.0"
17 "PHP Mode version number.") 17 "PHP Mode version number.")
18 18
19(defconst php-mode-modified "2019-01-09" 19(defconst php-mode-modified "2019-02-28"
20 "PHP Mode build date.") 20 "PHP Mode build date.")
21 21
22;; This file is free software; you can redistribute it and/or 22;; This file is free software; you can redistribute it and/or
@@ -675,6 +675,10 @@ might be to handle switch and goto labels differently."
675 (c-lang-const c-constant-kwds)) 675 (c-lang-const c-constant-kwds))
676 :test 'string-equal)))) 676 :test 'string-equal))))
677 677
678(c-lang-defconst c-basic-matchers-before
679 php (cl-remove-if (lambda (elm) (and (listp elm) (equal (car elm) "\\s|")))
680 (c-lang-const c-basic-matchers-before php)))
681
678(defun php-lineup-cascaded-calls (langelem) 682(defun php-lineup-cascaded-calls (langelem)
679 "Line up chained methods using `c-lineup-cascaded-calls', 683 "Line up chained methods using `c-lineup-cascaded-calls',
680but only if the setting is enabled" 684but only if the setting is enabled"