1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

(choose-completion-string): Use plain exit-minibuffer,

not minibuffer-complete-and-exit.  And do so only if the minibuffer
was doing completion.
This commit is contained in:
Richard M. Stallman 1994-08-17 22:33:37 +00:00
parent 329ff3a4e7
commit 8881ad9a94

View File

@ -2548,7 +2548,8 @@ it were the arg to `interactive' (which see) to interactively read the value."
(set-window-point window (point)))
;; If completing for the minibuffer, exit it with this choice.
(and (equal buffer (window-buffer (minibuffer-window)))
(minibuffer-complete-and-exit)))))
minibuffer-completion-table
(exit-minibuffer)))))
(defun completion-list-mode ()
"Major mode for buffers showing lists of possible completions.