From 26f11ed91fd749becf8b3dd62a2bd8ae79e03c78 Mon Sep 17 00:00:00 2001 From: Sam Steingold Date: Sat, 25 Dec 2021 19:24:50 -0500 Subject: [PATCH] Use the standard `quit-window' binding from `special-mode' for "q" * epa.el (epa-info-mode-map): Remove `defvar'. --- lisp/epa.el | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lisp/epa.el b/lisp/epa.el index 93c85bfd37c..d9a3531af27 100644 --- a/lisp/epa.el +++ b/lisp/epa.el @@ -235,11 +235,6 @@ You should bind this variable with `let', but do not set it globally.") (define-key keymap "q" 'epa-exit-buffer) keymap)) -(defvar epa-info-mode-map - (let ((keymap (make-sparse-keymap))) - (define-key keymap "q" 'delete-window) - keymap)) - (defvar epa-exit-buffer-function #'quit-window) (defun epa--button-key-text (key) -- 2.39.2