Mercurial > emacs
changeset 106360:33815099ecfc
(pcomplete/cd): Complete more than one argument, just in case.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 01 Dec 2009 19:42:28 +0000 |
parents | fceba9857bee |
children | 2e9a20121a4f |
files | lisp/ChangeLog lisp/pcmpl-unix.el |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Tue Dec 01 19:39:52 2009 +0000 +++ b/lisp/ChangeLog Tue Dec 01 19:42:28 2009 +0000 @@ -1,5 +1,8 @@ 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca> + * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just + in case. + * pcomplete.el (pcomplete-std-complete): Don't try to complete past the last element.
--- a/lisp/pcmpl-unix.el Tue Dec 01 19:39:52 2009 +0000 +++ b/lisp/pcmpl-unix.el Tue Dec 01 19:42:28 2009 +0000 @@ -51,7 +51,7 @@ ;;;###autoload (defun pcomplete/cd () "Completion for `cd'." - (pcomplete-here (pcomplete-dirs))) + (while (pcomplete-here (pcomplete-dirs)))) ;;;###autoload (defalias 'pcomplete/pushd 'pcomplete/cd)