From f44be180af8108274b7f7064b1605873469f5e85 Mon Sep 17 00:00:00 2001 From: Protesilaos Stavrou Date: Mon, 8 May 2023 10:33:51 +0300 Subject: [PATCH] Improve DWIM keyboard-quit for completions buffer --- emacs-notepad.org | 2 ++ 1 file changed, 2 insertions(+) diff --git a/emacs-notepad.org b/emacs-notepad.org index b62cb68..e8665c8 100644 --- a/emacs-notepad.org +++ b/emacs-notepad.org @@ -235,6 +235,8 @@ The DWIM behaviour of this command is as follows: (cond ((region-active-p) (keyboard-quit)) + ((derived-mode-p 'completion-list-mode) + (delete-completion-window)) ((> (minibuffer-depth) 0) (abort-recursive-edit)) (t -- 2.45.2