From: Sam Steingold Date: Sun, 26 Dec 2021 00:24:50 +0000 (-0500) Subject: Use the standard `quit-window' binding from `special-mode' for "q" X-Git-Tag: emacs-29.0.90~3453 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=26f11ed91fd749becf8b3dd62a2bd8ae79e03c78;p=emacs.git Use the standard `quit-window' binding from `special-mode' for "q" * epa.el (epa-info-mode-map): Remove `defvar'. --- 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)