Skip to content

Commit 4bd5283

Browse files
committed
Inherit drupal-style from php style.
Closes #59.
1 parent 9a6d362 commit 4bd5283

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

drupal-mode.el

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -333,16 +333,15 @@ function arguments.")
333333

334334
;; drupal style
335335
(defcustom drupal-style
336-
'((c-basic-offset . 2)
336+
'("php"
337+
(c-basic-offset . 2)
337338
(fill-column . 80)
338339
(show-trailing-whitespace . t)
339340
(indent-tabs-mode . nil)
340341
(require-final-newline . t)
341342
(c-offsets-alist . ((arglist-close . 0)
342343
(arglist-cont-nonempty . c-lineup-math)
343-
(arglist-intro . +)
344-
(case-label . +)
345-
(comment-intro . 0)))
344+
(arglist-intro . +)))
346345
(c-doc-comment-style . (php-mode . javadoc))
347346
(c-label-minimum-indentation . 1)
348347
(c-special-indent-hook . c-gnu-impose-minimum)

0 commit comments

Comments
 (0)