mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
* lisp/icomplete.el (icomplete-fido-kill): Unbreak yes-or-no-p usage
Discussed in the context of bug#19064, bug#17272.
This commit is contained in:
parent
a76a1d0c0b
commit
aa79f4e8c6
1 changed files with 5 additions and 1 deletions
|
|
@ -253,7 +253,11 @@ require user confirmation."
|
|||
(path (expand-file-name thing dir)))
|
||||
(when (yes-or-no-p (concat "Delete file " path "? "))
|
||||
(delete-file path) t)))))))
|
||||
(when (funcall action)
|
||||
(when (let (;; Allow `yes-or-no-p' to work and don't let it
|
||||
;; `icomplete-exhibit' anything.
|
||||
(enable-recursive-minibuffers t)
|
||||
(icomplete-mode nil))
|
||||
(funcall action))
|
||||
(completion--cache-all-sorted-completions
|
||||
(icomplete--field-beg)
|
||||
(icomplete--field-end)
|
||||
|
|
|
|||
Loading…
Reference in a new issue