We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d920370 + f9d5596 commit 1e6f973Copy full SHA for 1e6f973
drupal-mode.el
@@ -5,7 +5,7 @@
5
;; Author: Arne Jørgensen <[email protected]>
6
;; URL: https://github.com/arnested/drupal-mode
7
;; Created: January 17, 2012
8
-;; Version: 0.7.0
+;; Version: 0.7.1
9
;; Package-Requires: ((php-mode "1.5.0"))
10
;; Keywords: programming, php, drupal
11
@@ -347,7 +347,12 @@ According to https://drupal.org/coding-standards#indenting."
347
:group 'drupal)
348
349
(c-add-style "drupal" drupal-style)
350
-(add-to-list 'c-default-style '(drupal-mode . "drupal"))
+
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")))
356
357
358
0 commit comments