summaryrefslogtreecommitdiff
path: root/lisp/pcmpl-unix.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2009-12-01 19:42:28 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2009-12-01 19:42:28 +0000
commitf3b757f540fd7290ccd6a94306a915f12c10e3c9 (patch)
tree86b86adfe5c00d5fdb840bc2c1f9971efc58f209 /lisp/pcmpl-unix.el
parenta2877f1d6f917de6776849f35ed196f3b5615eb4 (diff)
downloademacs-f3b757f540fd7290ccd6a94306a915f12c10e3c9.tar.gz
(pcomplete/cd): Complete more than one argument, just in case.
Diffstat (limited to 'lisp/pcmpl-unix.el')
-rw-r--r--lisp/pcmpl-unix.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/pcmpl-unix.el b/lisp/pcmpl-unix.el
index c12920f76d2..9d33ed19621 100644
--- a/lisp/pcmpl-unix.el
+++ b/lisp/pcmpl-unix.el
@@ -51,7 +51,7 @@ with the SSH option \"HashKnownHosts no\"."
;;;###autoload
(defun pcomplete/cd ()
"Completion for `cd'."
- (pcomplete-here (pcomplete-dirs)))
+ (while (pcomplete-here (pcomplete-dirs))))
;;;###autoload
(defalias 'pcomplete/pushd 'pcomplete/cd)