# HG changeset patch # User Juanma Barranquero # Date 1212176821 0 # Node ID 92edde3e7af69079d13cf0f83b7fc69cffea3856 # Parent 72ac0c4a8ecdeccd74a08db83a9cdada8d71fbf4 (completion-table-dynamic): Doc fix. diff -r 72ac0c4a8ecd -r 92edde3e7af6 lisp/minibuffer.el --- 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'