branch: elpa/php-mode
commit 1c9e08dde1eb83286547ec5d832689533bf91cad
Author: USAMI Kenta <[email protected]>
Commit: USAMI Kenta <[email protected]>

    Set c-after-brace-list-decl-kwds
---
 lisp/php-mode.el | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lisp/php-mode.el b/lisp/php-mode.el
index d6537ab90f..38534b1368 100644
--- a/lisp/php-mode.el
+++ b/lisp/php-mode.el
@@ -470,6 +470,12 @@ any) is a brace list.
 PHP does not have an C-like \"enum\" keyword."
   php nil)
 
+;; cc-mode renamed `c-after-brace-list-decl-kwds' to `c-after-enum-list-kwds';
+;; keep the old name defined so cc-langs' transitional lookup stays quiet where
+;; the rename landed (see `c-after-enum-list-key' in cc-langs.el).
+(c-lang-defconst c-after-brace-list-decl-kwds
+  php nil)
+
 (c-lang-defconst c-typeless-decl-kwds
   php (append (c-lang-const c-class-decl-kwds php) '("function" "const")))
 

Reply via email to