From 187e9721c77376f20efaf720ba0d925fb38e9c55 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Tue, 25 Dec 2007 20:00:12 +0000 Subject: (asm-mode-map): Add a major mode menu. --- lisp/progmodes/asm-mode.el | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lisp/progmodes/asm-mode.el') 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.") -- cgit v1.2.1