[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/drupal-mode 541a0c014a 05/11: Fix c-basic-offset, indent-t
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/drupal-mode 541a0c014a 05/11: Fix c-basic-offset, indent-tabs-mode, and more |
Date: |
Fri, 16 Aug 2024 10:00:05 -0400 (EDT) |
branch: elpa/drupal-mode
commit 541a0c014aa1860855df5a8457192d7d9032daa1
Author: Arne Jørgensen <arne@arnested.dk>
Commit: Arne Jørgensen <arne@arnested.dk>
Fix c-basic-offset, indent-tabs-mode, and more
php-mode is no longer based on c-mode, but php-base-mode (see
https://github.com/emacs-php/php-mode/pull/772).
This prevented the drupal style to be used.
---
drupal-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drupal-mode.el b/drupal-mode.el
index 07d91a9c12..83cb184d08 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -310,7 +310,7 @@ function arguments.")
(setq comment-end "")
;; Setup cc-mode style stuff.
- (when (derived-mode-p 'c-mode)
+ (when (or (derived-mode-p 'php-base-mode) (derived-mode-p 'c-mode))
(c-add-language 'drupal-mode 'c-mode)
(c-set-style "drupal"))
- [nongnu] elpa/drupal-mode d920370dc6 01/11: Merge branch 'release/0.7.0', (continued)
- [nongnu] elpa/drupal-mode d920370dc6 01/11: Merge branch 'release/0.7.0', ELPA Syncer, 2024/08/16
- [nongnu] elpa/drupal-mode 49ce63c659 04/11: Merge branch 'release/0.7.3', ELPA Syncer, 2024/08/16
- [nongnu] elpa/drupal-mode 1e6f973ed5 02/11: Merge branch 'release/0.7.1', ELPA Syncer, 2024/08/16
- [nongnu] elpa/drupal-mode afa84f7b28 03/11: Merge branch 'release/0.7.2', ELPA Syncer, 2024/08/16
- [nongnu] elpa/drupal-mode a971073b50 07/11: Merge branch 'release/0.8.0', ELPA Syncer, 2024/08/16
- [nongnu] elpa/drupal-mode 1177191767 08/11: Merge tag '0.8.0' into develop, ELPA Syncer, 2024/08/16
- [nongnu] elpa/drupal-mode f632fa5f14 09/11: Bump version number, ELPA Syncer, 2024/08/16
- [nongnu] elpa/drupal-mode a353f8bdf3 10/11: Merge branch 'release/0.8.1', ELPA Syncer, 2024/08/16
- [nongnu] elpa/drupal-mode 3f91d1d44d 11/11: Merge tag '0.8.1' into develop, ELPA Syncer, 2024/08/16
- [nongnu] elpa/drupal-mode b5302b45d4 06/11: Merge pull request #88 from arnested/tweaks, ELPA Syncer, 2024/08/16
- [nongnu] elpa/drupal-mode 541a0c014a 05/11: Fix c-basic-offset, indent-tabs-mode, and more,
ELPA Syncer <=