[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/drupal-mode 551cc3c803 093/308: Eliminated `drupal-drush-m
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/drupal-mode 551cc3c803 093/308: Eliminated `drupal-drush-mode'. It had no purpose. |
Date: |
Tue, 25 Jan 2022 10:59:33 -0500 (EST) |
branch: elpa/drupal-mode
commit 551cc3c8031e35bb452b71dd7ae9c48e52db1877
Author: Arne Jørgensen <arne@arnested.dk>
Commit: Arne Jørgensen <arne@arnested.dk>
Eliminated `drupal-drush-mode'. It had no purpose.
---
drupal-mode.el | 23 +++--------------------
1 file changed, 3 insertions(+), 20 deletions(-)
diff --git a/drupal-mode.el b/drupal-mode.el
index dc591f63f5..8d8d0008cf 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -189,11 +189,6 @@ Include path to the executable if it is not in your $PATH."
map)
"Keymap for `drupal-mode'")
-(defvar drupal-drush-mode-map
- (let ((map (make-sparse-keymap)))
- map)
- "Keymap for `drupal-drush-mode'")
-
(defvar drupal-symbol-collection nil
"A collection or a function returning a collection of Drupal symbols.
Used by `drupal-insert-hook' to provide completions on hooks.")
@@ -249,17 +244,6 @@ function arguments.")
(c-add-language 'drupal-mode 'c-mode)
(c-set-style "drupal"))))
-;;;###autoload
-(define-minor-mode drupal-drush-mode
- "Advanced minor mode for Drupal Drush
development.\n\n\\{drupal-drush-mode-map}"
- :group 'drupal-drush
- :init-value nil
- :lighter " Drush"
- :keymap drupal-drush-mode-map
-
- ;; Currently only enables drupal-mode.
- (drupal-mode 1))
-
;; drupal style
@@ -609,10 +593,9 @@ The function is suitable for adding to the supported major
modes
mode-hook."
(when (apply 'derived-mode-p (append drupal-php-modes drupal-css-modes
drupal-js-modes drupal-info-modes))
(drupal-detect-drupal-version)
- (when drupal-version
- (drupal-mode 1))
- (when (string-match "drush" (or buffer-file-name default-directory))
- (drupal-drush-mode 1))))
+ (when (or drupal-version
+ (string-match "drush" (or buffer-file-name default-directory)))
+ (drupal-mode 1))))
;;;###autoload
(dolist (mode (append drupal-php-modes drupal-css-modes drupal-js-modes
drupal-info-modes))
- [nongnu] elpa/drupal-mode 213ebf5e65 124/308: Fixed eshell site-alias expansion for aliases beginning with @. Suggestion by Tassilo Horn:, (continued)
- [nongnu] elpa/drupal-mode 213ebf5e65 124/308: Fixed eshell site-alias expansion for aliases beginning with @. Suggestion by Tassilo Horn:, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode f4a4985134 132/308: Check if our checker can be used before enforcing it., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 2ad9decdb7 136/308: Merge branch 'develop' into pr/35, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode ec024f1e2a 148/308: `drupal/phpcs-dont-show-trailing-whitespace` common to flycheck and flymake., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode da62dbfc22 149/308: Added missing EOL., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode f77dd902b4 009/308: Add :link to defcustom. Part of #9., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode e4d21708db 010/308: Untabify and indent., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 24bae05adf 036/308: Merge branch 'master' of github.com:arnested/drupal-mode, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 02eacb79f2 078/308: Added `drupal/etags-get-function-args' for finding arguments using Etags., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 0b770695f8 072/308: Fixed `drupal-get-function-args' to fail gracefully., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 551cc3c803 093/308: Eliminated `drupal-drush-mode'. It had no purpose.,
ELPA Syncer <=
- [nongnu] elpa/drupal-mode c81cdfd343 096/308: Made `drupal-search-url' et el safe for `string-or-null-p'., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 05e0a86bed 099/308: Added keyboard shortcut for `drupal-module-name'., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode ae4dd40f05 122/308: Added pcomplete for drush., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 57897dbed5 125/308: Fixed locating drush version number., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 0b9e5d25b4 129/308: Added basic support for flycheck., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 4f54f8bcb8 134/308: Fixed documentation., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode bd22697642 135/308: Mark `drupal/flymake-phpcs-standard' as obsolete., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 3ba088c812 139/308: No need for make-local-variable., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode a6a4bfa842 144/308: No quoting necessary, says wiser minds than mine., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 996081be40 157/308: Merge branch 'release/0.3.0', ELPA Syncer, 2022/01/25