diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2011-08-23 01:25:17 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2011-08-23 01:25:17 -0400 |
commit | 1802e44433f0a36f3a3f877654cb2c2a666893e7 (patch) | |
tree | 4f5d77ec33e68407ceb7eb4e900c5ae04eac4efc /lisp/pcomplete.el | |
parent | b3fd59bd988b168ab996bb6368af8bda2bec29b5 (diff) | |
download | emacs-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/pcomplete.el')
-rw-r--r-- | lisp/pcomplete.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/pcomplete.el b/lisp/pcomplete.el index 02f3c4ad1da..bdf2dadd16c 100644 --- a/lisp/pcomplete.el +++ b/lisp/pcomplete.el @@ -883,7 +883,7 @@ Magic characters are those in `pcomplete-arg-quote-list'." (or (run-hook-with-args-until-success 'pcomplete-quote-arg-hook filename index) (when (memq c pcomplete-arg-quote-list) - (string "\\" c)) + (string ?\\ c)) (char-to-string c)) (setq index (1+ index)))) filename |