diff options
Diffstat (limited to 'lisp/edmacro.el')
-rw-r--r-- | lisp/edmacro.el | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lisp/edmacro.el b/lisp/edmacro.el index 04adabd06bc..11afb68883d 100644 --- a/lisp/edmacro.el +++ b/lisp/edmacro.el @@ -72,11 +72,9 @@ Default nil means to write characters above \\177 in octal notation." :type 'boolean :group 'kmacro) -(defvar edmacro-mode-map - (let ((map (make-sparse-keymap))) - (define-key map "\C-c\C-c" #'edmacro-finish-edit) - (define-key map "\C-c\C-q" #'edmacro-insert-key) - map)) +(defvar-keymap edmacro-mode-map + "C-c C-c" #'edmacro-finish-edit + "C-c C-q" #'edmacro-insert-key) (defvar edmacro-store-hook) (defvar edmacro-finish-hook) |