comparison lisp/progmodes/asm-mode.el @ 94206:10db3330138c

* progmodes/asm-mode.el (asm-mode-map): * progmodes/hideif.el (hide-ifdef-mode-menu): Add :help. * progmodes/m4-mode.el (m4-mode-map): Add menu.
author Dan Nicolaescu <dann@ics.uci.edu>
date Mon, 21 Apr 2008 05:02:06 +0000
parents 1e3a407766b9
children 52b7a8c22af5
comparison
equal deleted inserted replaced
94205:e60145f49fea 94206:10db3330138c
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)) 82 (define-key map [menu-bar] (make-sparse-keymap))
83 (define-key map [menu-bar asm-mode] (cons "Asm" map)) 83 (define-key map [menu-bar asm-mode] (cons "Asm" map))
84 (define-key map [comment-region]
85 '(menu-item "Comment Region" comment-region
86 :help "Comment or uncomment each line in the region"))
87 (define-key map [newline-and-indent]
88 '(menu-item "Insert Newline and Indent" newline-and-indent
89 :help "Insert a newline, then indent according to major mode"))
84 (define-key map [asm-colon] 90 (define-key map [asm-colon]
85 '("Insert Colon" . asm-colon)) 91 '(menu-item "Insert Colon" asm-colon
86 (define-key map [comment-region] 92 :help "Insert a colon; if it follows a label, delete the label's indentation"))
87 '("Comment Region" . comment-region))
88 (define-key map [newline-and-indent]
89 '("Insert Newline and Indent" . newline-and-indent))
90 map) 93 map)
91 "Keymap for Asm mode.") 94 "Keymap for Asm mode.")
92 95
93 (defconst asm-font-lock-keywords 96 (defconst asm-font-lock-keywords
94 (append 97 (append