]> git.eshelyaron.com Git - emacs.git/commitdiff
Use the standard `quit-window' binding from `special-mode' for "q"
authorSam Steingold <sds@gnu.org>
Sun, 26 Dec 2021 00:24:50 +0000 (19:24 -0500)
committerSam Steingold <sds@gnu.org>
Sun, 26 Dec 2021 00:26:02 +0000 (19:26 -0500)
* epa.el (epa-info-mode-map): Remove `defvar'.

lisp/epa.el

index 93c85bfd37cd86f69b136a88474d8eb7ecf5439b..d9a3531af27a302d0604f9083f7467a53a413792 100644 (file)
@@ -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)