diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2008-05-30 19:50:26 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2008-05-30 19:50:26 +0000 |
commit | d9aa6b33589b4f4336a66c989b731b0d5a501691 (patch) | |
tree | 323d3ca8996adbd5aab53a0d99f6161a2b02d81d /lisp/minibuffer.el | |
parent | 47dd5958df9455778bec7f772889cabc8614176a (diff) | |
download | emacs-d9aa6b33589b4f4336a66c989b731b0d5a501691.tar.gz |
(completion-table-dynamic): Doc fix.
Diffstat (limited to 'lisp/minibuffer.el')
-rw-r--r-- | lisp/minibuffer.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index 8dd0c776f5f..510fe4b1721 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el @@ -131,7 +131,7 @@ the value of its argument. If completion is performed in the minibuffer, 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 @@ specified by COMMON-SUBSTRING." (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' |