diff options
author | Sam Steingold <sds@gnu.org> | 2021-12-25 19:24:50 -0500 |
---|---|---|
committer | Sam Steingold <sds@gnu.org> | 2021-12-25 19:26:02 -0500 |
commit | 26f11ed91fd749becf8b3dd62a2bd8ae79e03c78 (patch) | |
tree | 2316c08233861c83788cae9363ee46f06e3d925d /lisp | |
parent | f03d0de26fc718058567951ed46dc6772638928c (diff) | |
download | emacs-26f11ed91fd749becf8b3dd62a2bd8ae79e03c78.tar.gz emacs-26f11ed91fd749becf8b3dd62a2bd8ae79e03c78.tar.bz2 emacs-26f11ed91fd749becf8b3dd62a2bd8ae79e03c78.zip |
Use the standard `quit-window' binding from `special-mode' for "q"
* epa.el (epa-info-mode-map): Remove `defvar'.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/epa.el | 5 |
1 files changed, 0 insertions, 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) |