[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/drupal-mode 08d1a815ba 208/308: Simplified.
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/drupal-mode 08d1a815ba 208/308: Simplified. |
Date: |
Tue, 25 Jan 2022 10:59:48 -0500 (EST) |
branch: elpa/drupal-mode
commit 08d1a815ba50d2f586aa6aaae5c35a3f2a92d831
Author: Arne Jørgensen <arne@arnested.dk>
Commit: Arne Jørgensen <arne@arnested.dk>
Simplified.
No need to call `cd-absolute`. It's probably better to supply the
DRUPAL_ROOT as a parameter to drush.
---
drupal-mode.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drupal-mode.el b/drupal-mode.el
index 40cdbee5fa..6f9a94fbaa 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -360,9 +360,8 @@ of the project)."
drupal-drush-program)
(let ((root drupal-rootdir))
(with-temp-buffer
- (cd-absolute root)
(message "Clearing all caches...")
- (call-process drupal-drush-program nil nil nil "cache-clear" "all")
+ (call-process drupal-drush-program nil nil nil (concat "--root="
(expand-file-name root)) "cache-clear" "all")
(message "Clearing all caches...done")))
(message "Can't clear caches. No DRUPAL_ROOT and/or no drush command.")))
- [nongnu] elpa/drupal-mode 4532cd7217 193/308: Use `._flymake` as temp file pattern., (continued)
- [nongnu] elpa/drupal-mode 4532cd7217 193/308: Use `._flymake` as temp file pattern., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 7ddadecabd 191/308: Reduced number of times calling `drupal-detect-drupal-version`., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 1d1690b855 203/308: Merge branch 'release/0.5.0', ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode ca93db3d20 027/308: Only change dictionary to `american' if it exists., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode ab0af570f8 095/308: Added .profile to `auto-load-alist' for `php-mode'., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 8d2c52c821 188/308: Prepared for .api.php CoderSniffer sniffs., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 95d6ecdd75 194/308: Bumped version number., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 09c622e53c 199/308: Merge pull request #45 from joddie/skeleton-menu-items, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode dd0016dd41 204/308: Merge branch 'release/0.5.0' into develop, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 56ef6b550c 207/308: Silenced byte-compiler., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 08d1a815ba 208/308: Simplified.,
ELPA Syncer <=
- [nongnu] elpa/drupal-mode 1627981c94 210/308: Added a `drupal-drush-php-eval`, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 936ca4afcd 219/308: Run flycheck phpcs checker in-place, so info file rules work properly., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 6f2b2174fc 233/308: Don't trigger drupal-mode in vendor dirs. Closes #57., ELPA Syncer, 2022/01/25
- [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