Mercurial > emacs
diff lisp/minibuffer.el @ 95426:92edde3e7af6
(completion-table-dynamic): Doc fix.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Fri, 30 May 2008 19:47:01 +0000 |
parents | 119c6508d4f8 |
children | d34a432d5863 |
line wrap: on
line diff
--- a/lisp/minibuffer.el Fri May 30 16:21:49 2008 +0000 +++ b/lisp/minibuffer.el Fri May 30 19:47:01 2008 +0000 @@ -131,7 +131,7 @@ FUN will be called in the buffer from which the minibuffer was entered. The result of the `dynamic-completion-table' form is a function -that can be used as the ALIST argument to `try-completion' and +that can be used as the COLLECTION argument to `try-completion' and `all-completions'. See Info node `(elisp)Programmed Completion'." (lexical-let ((fun fun)) (lambda (string pred action) @@ -978,7 +978,7 @@ (let ((start (length (file-name-directory string))) (end (string-match "/" (cdr action)))) (list* 'boundaries start end))) - + (t (let* ((dir (if (stringp pred) ;; It used to be that `pred' was abused to pass `dir'