Skip to content

Commit 237b963

Browse files
committed
better quit
1 parent 19a7f76 commit 237b963

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

boon-main.el

+4
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,10 @@ Replace the region if it is active."
409409
((use-region-p)
410410
(boon-deactivate-mark)
411411
(message "Deactivated region (use ' to reactivate)"))
412+
((derived-mode-p 'completion-list-mode)
413+
(delete-completion-window))
414+
((> (minibuffer-depth) 0)
415+
(abort-recursive-edit))
412416
((bound-and-true-p multiple-cursors-mode)
413417
(message "Exitted from multiple cursors")
414418
(multiple-cursors-mode 0))

0 commit comments

Comments
 (0)