Commit a8851092 authored by Chong Yidong's avatar Chong Yidong
Browse files

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

parent 03a27081
......@@ -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)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment