mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(asm-mode-map): Add a major mode menu.
This commit is contained in:
parent
6143495cd6
commit
187e9721c7
2 changed files with 12 additions and 0 deletions
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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.")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue