From 0cd309588c53d58f9b6ce3ebcfed1e72710f73b3 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Wed, 20 Mar 2019 13:01:59 +0100 Subject: Update .emacs.d/lisp/lua-mode.el and .emacs.d/lisp/php-mode.el --- .emacs.d/lisp/php-mode.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '.emacs.d/lisp/php-mode.el') 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 @@ (defconst php-mode-version-number "1.21.0" "PHP Mode version number.") -(defconst php-mode-modified "2019-01-09" +(defconst php-mode-modified "2019-02-28" "PHP Mode build date.") ;; This file is free software; you can redistribute it and/or @@ -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" -- cgit v1.3