* minibuffer.el (internal-complete-buffer-except): Doc fix. (Bug#2315)

This commit is contained in:
Juanma Barranquero 2009-02-13 10:35:40 +00:00
parent 3b4d152a0e
commit e35b306327
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2009-02-13 Juanma Barranquero <lekktu@gmail.com>
* minibuffer.el (internal-complete-buffer-except): Doc fix. (Bug#2315)
2009-02-13 Glenn Morris <rgm@gnu.org>
* mail/rmail.el (rmail-show-message-1): New name for the old

View file

@ -1213,6 +1213,7 @@ and `read-file-name-function'."
(defun internal-complete-buffer-except (&optional buffer)
"Perform completion on all buffers excluding BUFFER.
BUFFER nil or omitted means use the current buffer.
Like `internal-complete-buffer', but removes BUFFER from the completion list."
(lexical-let ((except (if (stringp buffer) buffer (buffer-name buffer))))
(apply-partially 'completion-table-with-predicate