[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/drupal-mode 83ee02f80a 024/308: Renamed `drupal-root' to `
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/drupal-mode 83ee02f80a 024/308: Renamed `drupal-root' to `drupal-rootdir'. |
Date: |
Tue, 25 Jan 2022 10:59:03 -0500 (EST) |
branch: elpa/drupal-mode
commit 83ee02f80a88bbfdeb0074a1d3bb0ed861774738
Author: Arne Jørgensen <arne@arnested.dk>
Commit: Arne Jørgensen <arne@arnested.dk>
Renamed `drupal-root' to `drupal-rootdir'.
---
drupal-mode.el | 8 ++++----
drupal/etags.el | 6 +++---
drupal/gtags.el | 4 ++--
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/drupal-mode.el b/drupal-mode.el
index b028fbe96d..8a72d16f6a 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -111,9 +111,9 @@ According to http://drupal.org/coding-standards#indenting."
(make-variable-buffer-local 'drupal-version)
(put 'drupal-version 'safe-local-variable 'string-or-null-p)
-(defvar drupal-root nil "Drupal project root as auto detected.")
-(make-variable-buffer-local 'drupal-root)
-(put 'drupal-root 'safe-local-variable 'string-or-null-p)
+(defvar drupal-rootdir nil "Drupal project rootdir as auto detected.")
+(make-variable-buffer-local 'drupal-rootdir)
+(put 'drupal-rootdir 'safe-local-variable 'string-or-null-p)
(defvar drupal-mode-map
(let ((map (make-sparse-keymap)))
@@ -255,7 +255,7 @@ should save your files with unix style end of line."
(goto-char (point-min))
(when (re-search-forward "\\(define('VERSION',\\|const
VERSION =\\) +'\\(.+\\)'" nil t)
(dir-locals-set-class-variables 'drupal-class `((nil .
((drupal-version . ,(match-string-no-properties 2))
-
(drupal-root . ,dir)))))
+
(drupal-rootdir . ,dir)))))
(dir-locals-set-directory-class dir 'drupal-class)))
(setq drupal-version (match-string-no-properties 2))
)))
diff --git a/drupal/etags.el b/drupal/etags.el
index cb8d06f068..c816ddb7a0 100644
--- a/drupal/etags.el
+++ b/drupal/etags.el
@@ -8,9 +8,9 @@
(defun drupal/etags-enable ()
"Setup TAGS file for etags if it exists in DRUPAL_ROOT."
- (when (and (boundp 'drupal-root)
- (file-exists-p (concat drupal-root "TAGS")))
- (setq tags-file-name (concat drupal-root "TAGS"))))
+ (when (and (boundp 'drupal-rootdir)
+ (file-exists-p (concat drupal-rootdir "TAGS")))
+ (setq tags-file-name (concat drupal-rootdir "TAGS"))))
(add-hook 'drupal-mode-hook 'drupal/etags-enable)
diff --git a/drupal/gtags.el b/drupal/gtags.el
index 57bd0932a6..6d55af4126 100644
--- a/drupal/gtags.el
+++ b/drupal/gtags.el
@@ -8,8 +8,8 @@
(defun drupal/gtags-enable ()
"Setup rootdir for gtags to be DRUPAL_ROOT."
- (when (boundp 'drupal-root)
- (setq gtags-rootdir drupal-root)))
+ (when (boundp 'drupal-rootdir)
+ (setq gtags-rootdir drupal-rootdir)))
(add-hook 'drupal-mode-hook 'drupal/gtags-enable)
- [nongnu] elpa/drupal-mode 5b5ab1fb42 235/308: Merge pull request #58 from arnested/ignore-vendor, (continued)
- [nongnu] elpa/drupal-mode 5b5ab1fb42 235/308: Merge pull request #58 from arnested/ignore-vendor, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 46205ad74c 244/308: Merge branch 'release/0.6.0', ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode cf0364cbaf 248/308: Merge branch 'release/0.6.1', ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode d9745316b3 261/308: Merge pull request #62 from arnested/feature/helm-gtags-compatibility, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 0a23dc084a 266/308: Add autoinsert template for .api.php files, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 947b893b37 274/308: Handle case where `c-default-style` is a string, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode f93cdfe1b2 278/308: Use proper indent for continuation lines, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 9d793aa112 286/308: Add support for gxref/xref, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode dc82e5430c 295/308: Handle .info.yml files, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode a1c77dca8b 300/308: Prefer HTTPS URLs wherever we can, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 83ee02f80a 024/308: Renamed `drupal-root' to `drupal-rootdir'.,
ELPA Syncer <=
- [nongnu] elpa/drupal-mode 4ef339db0a 045/308: Don't locate standard for each buffer., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 808d1f1768 080/308: Use `eldoc-mode' for function argument tips., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode ca7773df72 102/308: Added `drupal-mode-beginning-of-line' for .info files., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode f17e7088ca 107/308: Provide Drupal projects as webjump sites., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 043644e85d 109/308: Set correct comment style for inline comments., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode dfd4582048 115/308: Fixed argument insert in `drupal-insert-hook'., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode dcea92f3a9 117/308: Added autoinsert skeleton for .test files., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 6dd8edc402 121/308: Eliminated compiler warnings., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 16632d6cf7 133/308: Fixed drush version detection for Drush 7., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 58fb25a914 138/308: Added .cask to .gitignore., ELPA Syncer, 2022/01/25