Skip to content

Commit 1e6f973

Browse files
committed
Merge branch 'release/0.7.1'
2 parents d920370 + f9d5596 commit 1e6f973

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

drupal-mode.el

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
;; Author: Arne Jørgensen <[email protected]>
66
;; URL: https://github.com/arnested/drupal-mode
77
;; Created: January 17, 2012
8-
;; Version: 0.7.0
8+
;; Version: 0.7.1
99
;; Package-Requires: ((php-mode "1.5.0"))
1010
;; Keywords: programming, php, drupal
1111

@@ -347,7 +347,12 @@ According to https://drupal.org/coding-standards#indenting."
347347
:group 'drupal)
348348

349349
(c-add-style "drupal" drupal-style)
350-
(add-to-list 'c-default-style '(drupal-mode . "drupal"))
350+
351+
(if (and
352+
(boundp 'c-default-style)
353+
(stringp c-default-style))
354+
(setq c-default-style `((drupal-mode . "drupal") (other . ,c-default-style)))
355+
(add-to-list 'c-default-style '(drupal-mode . "drupal")))
351356

352357

353358

0 commit comments

Comments
 (0)