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:
parent
03a2708158
commit
a88510924f
@ -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)))
|
||||
|
Loading…
Reference in New Issue
Block a user