diff options
author | Stefan Kangas <stefan@marxist.se> | 2022-05-17 17:25:27 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2022-05-27 10:00:14 +0200 |
commit | 7d74b8f632b1af75b837f5b5259cd1758aab1489 (patch) | |
tree | 2db8b463375349b7d726fe1320e09e52b746fb3c /lisp/progmodes/mixal-mode.el | |
parent | 4ed0f6e9658279c25f66072c2ddef96aa6f7a93c (diff) | |
download | emacs-7d74b8f632b1af75b837f5b5259cd1758aab1489.tar.gz emacs-7d74b8f632b1af75b837f5b5259cd1758aab1489.tar.bz2 emacs-7d74b8f632b1af75b837f5b5259cd1758aab1489.zip |
Prefer defvar-keymap in some progmodes
* lisp/progmodes/asm-mode.el (asm-mode-map):
* lisp/progmodes/bug-reference.el (bug-reference-map):
* lisp/progmodes/erts-mode.el (erts-mode-map):
* lisp/progmodes/flymake.el (flymake-mode-map)
(flymake-diagnostics-buffer-mode-map):
* lisp/progmodes/icon.el (icon-mode-map):
* lisp/progmodes/js.el (js-mode-map):
* lisp/progmodes/m4-mode.el (m4-mode-map):
* lisp/progmodes/mixal-mode.el (mixal-mode-map):
* lisp/progmodes/scheme.el (scheme-mode-map): Prefer defvar-keymap.
Diffstat (limited to 'lisp/progmodes/mixal-mode.el')
-rw-r--r-- | lisp/progmodes/mixal-mode.el | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/lisp/progmodes/mixal-mode.el b/lisp/progmodes/mixal-mode.el index 97a218fcfa3..9d1ceaa55a8 100644 --- a/lisp/progmodes/mixal-mode.el +++ b/lisp/progmodes/mixal-mode.el @@ -78,16 +78,13 @@ ;;; Code: (defvar compile-command) -;;; Key map -(defvar mixal-mode-map - (let ((map (make-sparse-keymap))) - (define-key map "\C-c\C-c" 'compile) - (define-key map "\C-c\C-r" 'mixal-run) - (define-key map "\C-c\C-d" 'mixal-debug) - (define-key map "\C-h\C-o" 'mixal-describe-operation-code) - map) - "Keymap for `mixal-mode'.") -;; (makunbound 'mixal-mode-map) +;;; Keymap +(defvar-keymap mixal-mode-map + :doc "Keymap for `mixal-mode'." + "C-c C-c" #'compile + "C-c C-r" #'mixal-run + "C-c C-d" #'mixal-debug + "C-h C-o" #'mixal-describe-operation-code) ;;; Syntax table (defvar mixal-mode-syntax-table |