Use `abort-minibuffers' in delsel
* lisp/delsel.el (minibuffer-keyboard-quit): Use `abort-minibuffers' (bug#49821). Previously, C-g was bound to abort-recursive-edit, now it is bound to abort-minibuffers. However, after requiring delsel, it gets bound to minibuffer-keyboard-quit, which still uses abort-recursive-edit. Use the new function instead.
This commit is contained in:
parent
51583a0f9f
commit
b4f3e6caba
1 changed files with 1 additions and 1 deletions
|
|
@ -300,7 +300,7 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
|
|||
(interactive)
|
||||
(if (and delete-selection-mode (region-active-p))
|
||||
(setq deactivate-mark t)
|
||||
(abort-recursive-edit)))
|
||||
(abort-minibuffers)))
|
||||
|
||||
(define-key minibuffer-local-map "\C-g" 'minibuffer-keyboard-quit)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue