]> git.eshelyaron.com Git - emacs.git/commitdiff
(asm-mode-map): Add a major mode menu.
authorDan Nicolaescu <dann@ics.uci.edu>
Tue, 25 Dec 2007 20:00:12 +0000 (20:00 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Tue, 25 Dec 2007 20:00:12 +0000 (20:00 +0000)
lisp/ChangeLog
lisp/progmodes/asm-mode.el

index 7ac2582e64cbb597aad909fbecc82e984acc5e53..20eb447dcee2b688fc9e2275db0047488f0bc0c1 100644 (file)
@@ -1,3 +1,7 @@
+2007-12-25  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * progmodes/asm-mode.el (asm-mode-map): Add a major mode menu.
+
 2007-12-25  Richard Stallman  <rms@gnu.org>
 
        * comint.el (comint-mode-map): Explicitly bind `delete' and `kp-delete'
index d38e6170a23b67141e12a18a395f34ee921f09c6..591adbd439221a2365c66ea532c598acbb486186 100644 (file)
     (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.")