diff options
Diffstat (limited to 'lisp/textmodes/remember.el')
-rw-r--r-- | lisp/textmodes/remember.el | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lisp/textmodes/remember.el b/lisp/textmodes/remember.el index e6274b2b56b..9f8ad0aa9c7 100644 --- a/lisp/textmodes/remember.el +++ b/lisp/textmodes/remember.el @@ -452,13 +452,12 @@ application." ;;; Internal Functions: -(defvar remember-mode-map () +(defvar remember-mode-map + (let ((map (make-sparse-keymap))) + (define-key map "\C-x\C-s" 'remember-finalize) + (define-key map "\C-c\C-c" 'remember-finalize) + (define-key map "\C-c\C-k" 'remember-destroy)) "Keymap used in Remember mode.") -(when (not remember-mode-map) - (setq remember-mode-map (make-sparse-keymap)) - (define-key remember-mode-map "\C-x\C-s" 'remember-finalize) - (define-key remember-mode-map "\C-c\C-c" 'remember-finalize) - (define-key remember-mode-map "\C-c\C-k" 'remember-destroy)) (defun remember-mode () "Major mode for output from \\[remember]. |