branch: elpa/drupal-mode
commit 6022df5bd898bbe4f29d987706a71b3b9d8daae6
Merge: 57897dbed5 213ebf5e65
Author: Arne Jørgensen <[email protected]>
Commit: Arne Jørgensen <[email protected]>
Merge remote-tracking branch 'origin/pr/34' into develop.
Closes #34.
---
drupal/pcomplete.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drupal/pcomplete.el b/drupal/pcomplete.el
index 2d1f102539..a1ffca21cc 100644
--- a/drupal/pcomplete.el
+++ b/drupal/pcomplete.el
@@ -47,12 +47,14 @@
(defun drupal/pcomplete-drush-completion ()
"Completion for `drush'."
;; Completion for the command argument.
- (pcomplete-here* drupal/pcomplete-drush-commands)
+ (let ((pcomplete-try-first-hook (remove 'eshell-complete-host-reference
+ pcomplete-try-first-hook)))
+ (pcomplete-here* drupal/pcomplete-drush-commands)
(cond
((pcomplete-match "help" 1)
(pcomplete-here* drupal/pcomplete-drush-commands))
(t
- (while (pcomplete-here (pcomplete-entries))))))
+ (while (pcomplete-here (pcomplete-entries)))))))
(defalias 'pcomplete/drush 'drupal/pcomplete-drush-completion)