aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorDan Nicolaescu2007-12-25 20:00:12 +0000
committerDan Nicolaescu2007-12-25 20:00:12 +0000
commit187e9721c77376f20efaf720ba0d925fb38e9c55 (patch)
tree86aa8f3823475f3662b93642a066913e3830381d /lisp
parent6143495cd6cb20700186b839bd5e5bd19a6519c8 (diff)
downloademacs-187e9721c77376f20efaf720ba0d925fb38e9c55.tar.gz
emacs-187e9721c77376f20efaf720ba0d925fb38e9c55.zip
(asm-mode-map): Add a major mode menu.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/progmodes/asm-mode.el8
2 files changed, 12 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7ac2582e64c..20eb447dcee 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12007-12-25 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * progmodes/asm-mode.el (asm-mode-map): Add a major mode menu.
4
12007-12-25 Richard Stallman <rms@gnu.org> 52007-12-25 Richard Stallman <rms@gnu.org>
2 6
3 * comint.el (comint-mode-map): Explicitly bind `delete' and `kp-delete' 7 * comint.el (comint-mode-map): Explicitly bind `delete' and `kp-delete'
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 @@
79 (define-key map "\C-c;" 'comment-region) 79 (define-key map "\C-c;" 'comment-region)
80 (define-key map "\C-j" 'newline-and-indent) 80 (define-key map "\C-j" 'newline-and-indent)
81 (define-key map "\C-m" 'newline-and-indent) 81 (define-key map "\C-m" 'newline-and-indent)
82 (define-key map [menu-bar] (make-sparse-keymap))
83 (define-key map [menu-bar asm-mode] (cons "Asm" map))
84 (define-key map [asm-colon]
85 '("Insert Colon" . asm-colon))
86 (define-key map [comment-region]
87 '("Comment Region" . comment-region))
88 (define-key map [newline-and-indent]
89 '("Insert Newline and Indent" . newline-and-indent))
82 map) 90 map)
83 "Keymap for Asm mode.") 91 "Keymap for Asm mode.")
84 92