summaryrefslogtreecommitdiff
path: root/lisp/progmodes/asm-mode.el
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2007-12-25 20:00:12 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2007-12-25 20:00:12 +0000
commit187e9721c77376f20efaf720ba0d925fb38e9c55 (patch)
tree86aa8f3823475f3662b93642a066913e3830381d /lisp/progmodes/asm-mode.el
parent6143495cd6cb20700186b839bd5e5bd19a6519c8 (diff)
downloademacs-187e9721c77376f20efaf720ba0d925fb38e9c55.tar.gz
(asm-mode-map): Add a major mode menu.
Diffstat (limited to 'lisp/progmodes/asm-mode.el')
-rw-r--r--lisp/progmodes/asm-mode.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/progmodes/asm-mode.el b/lisp/progmodes/asm-mode.el
index d38e6170a23..591adbd4392 100644
--- a/lisp/progmodes/asm-mode.el
+++ b/lisp/progmodes/asm-mode.el
@@ -79,6 +79,14 @@
(define-key map "\C-c;" 'comment-region)
(define-key map "\C-j" 'newline-and-indent)
(define-key map "\C-m" 'newline-and-indent)
+ (define-key map [menu-bar] (make-sparse-keymap))
+ (define-key map [menu-bar asm-mode] (cons "Asm" map))
+ (define-key map [asm-colon]
+ '("Insert Colon" . asm-colon))
+ (define-key map [comment-region]
+ '("Comment Region" . comment-region))
+ (define-key map [newline-and-indent]
+ '("Insert Newline and Indent" . newline-and-indent))
map)
"Keymap for Asm mode.")