summaryrefslogtreecommitdiff
path: root/lisp/shell.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2011-08-23 01:25:17 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2011-08-23 01:25:17 -0400
commit1802e44433f0a36f3a3f877654cb2c2a666893e7 (patch)
tree4f5d77ec33e68407ceb7eb4e900c5ae04eac4efc /lisp/shell.el
parentb3fd59bd988b168ab996bb6368af8bda2bec29b5 (diff)
downloademacs-1802e44433f0a36f3a3f877654cb2c2a666893e7.tar.gz
* lisp/shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
* lisp/pcomplete.el (pcomplete-quote-argument): Fix thinko. Fixes: debbugs:9161
Diffstat (limited to 'lisp/shell.el')
-rw-r--r--lisp/shell.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/shell.el b/lisp/shell.el
index 53472d9ef0a..01d1a688f0e 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -412,6 +412,8 @@ to `dirtrack-mode'."
shell-dynamic-complete-functions)
(set (make-local-variable 'pcomplete-parse-arguments-function)
#'shell-parse-pcomplete-arguments)
+ (set (make-local-variable 'pcomplete-arg-quote-list)
+ (append "\\ \t\n\r\"'`$|&;(){}[]<>#" nil))
(set (make-local-variable 'pcomplete-termination-string)
(cond ((not comint-completion-addsuffix) "")
((stringp comint-completion-addsuffix)