1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-25 19:11:56 +00:00

(PC-do-complete-and-exit): Use minibuffer-confirm-exit-commands.

This commit is contained in:
Chong Yidong 2008-11-29 21:41:11 +00:00
parent 03a2708158
commit a88510924f

View File

@ -340,7 +340,7 @@ See `PC-complete' for details."
((eq minibuffer-completion-confirm 'confirm-after-completion)
;; Similar to the above, but only if trying to exit immediately
;; after typing TAB (this catches most minibuffer typos).
(if (and (memq last-command '(PC-complete minibuffer-complete))
(if (and (memq last-command minibuffer-confirm-exit-commands)
(not (test-completion (field-string)
minibuffer-completion-table
minibuffer-completion-predicate)))