emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/drupal-mode 4bd52836b3 238/308: Inherit drupal-style from


From: ELPA Syncer
Subject: [nongnu] elpa/drupal-mode 4bd52836b3 238/308: Inherit drupal-style from php style.
Date: Tue, 25 Jan 2022 10:59:50 -0500 (EST)

branch: elpa/drupal-mode
commit 4bd52836b3f534bfec2653e5eee1532f01387c5a
Author: Arne Jørgensen <arne@arnested.dk>
Commit: Arne Jørgensen <arne@arnested.dk>

    Inherit drupal-style from php style.
    
    Closes #59.
---
 drupal-mode.el | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/drupal-mode.el b/drupal-mode.el
index 125027c1e1..570b4537a5 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -333,16 +333,15 @@ function arguments.")
 
 ;; drupal style
 (defcustom drupal-style
-  '((c-basic-offset . 2)
+  '("php"
+    (c-basic-offset . 2)
     (fill-column . 80)
     (show-trailing-whitespace . t)
     (indent-tabs-mode . nil)
     (require-final-newline . t)
     (c-offsets-alist . ((arglist-close . 0)
                         (arglist-cont-nonempty . c-lineup-math)
-                        (arglist-intro . +)
-                        (case-label . +)
-                        (comment-intro . 0)))
+                        (arglist-intro . +)))
     (c-doc-comment-style . (php-mode . javadoc))
     (c-label-minimum-indentation . 1)
     (c-special-indent-hook . c-gnu-impose-minimum)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]