diff options
Diffstat (limited to 'lisp/icomplete.el')
| -rw-r--r-- | lisp/icomplete.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/icomplete.el b/lisp/icomplete.el index 8410ca5c3e1..16167ea21e1 100644 --- a/lisp/icomplete.el +++ b/lisp/icomplete.el | |||
| @@ -253,7 +253,11 @@ require user confirmation." | |||
| 253 | (path (expand-file-name thing dir))) | 253 | (path (expand-file-name thing dir))) |
| 254 | (when (yes-or-no-p (concat "Delete file " path "? ")) | 254 | (when (yes-or-no-p (concat "Delete file " path "? ")) |
| 255 | (delete-file path) t))))))) | 255 | (delete-file path) t))))))) |
| 256 | (when (funcall action) | 256 | (when (let (;; Allow `yes-or-no-p' to work and don't let it |
| 257 | ;; `icomplete-exhibit' anything. | ||
| 258 | (enable-recursive-minibuffers t) | ||
| 259 | (icomplete-mode nil)) | ||
| 260 | (funcall action)) | ||
| 257 | (completion--cache-all-sorted-completions | 261 | (completion--cache-all-sorted-completions |
| 258 | (icomplete--field-beg) | 262 | (icomplete--field-beg) |
| 259 | (icomplete--field-end) | 263 | (icomplete--field-end) |