aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2009-07-23 07:09:28 +0000
committerDan Nicolaescu2009-07-23 07:09:28 +0000
commita707eb05425baef7d0cd27f469c2e5ae4b59f9ac (patch)
treeaa37066498b7ea0287ddc0cb63ca99e8038e7fd2
parente05b6a4eb2d0fc0205dd166f4ac79f99089ef870 (diff)
downloademacs-a707eb05425baef7d0cd27f469c2e5ae4b59f9ac.tar.gz
emacs-a707eb05425baef7d0cd27f469c2e5ae4b59f9ac.zip
(emacs-lisp-mode-map): Add menu entries
for Lint.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/emacs-lisp/lisp-mode.el11
2 files changed, 16 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d76566b7ec4..3a56748ebc3 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
4 for Lint.
5
12009-07-22 Dan Nicolaescu <dann@ics.uci.edu> 62009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
2 7
3 * vc.el (vc-print-log-internal): New function, split out from ... 8 * vc.el (vc-print-log-internal): New function, split out from ...
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el
index 9845d304c8f..49c35770dd7 100644
--- a/lisp/emacs-lisp/lisp-mode.el
+++ b/lisp/emacs-lisp/lisp-mode.el
@@ -273,6 +273,7 @@ font-lock keywords will not be case sensitive."
273(defvar emacs-lisp-mode-map 273(defvar emacs-lisp-mode-map
274 (let ((map (make-sparse-keymap "Emacs-Lisp")) 274 (let ((map (make-sparse-keymap "Emacs-Lisp"))
275 (menu-map (make-sparse-keymap "Emacs-Lisp")) 275 (menu-map (make-sparse-keymap "Emacs-Lisp"))
276 (lint-map (make-sparse-keymap))
276 (prof-map (make-sparse-keymap)) 277 (prof-map (make-sparse-keymap))
277 (tracing-map (make-sparse-keymap))) 278 (tracing-map (make-sparse-keymap)))
278 (set-keymap-parent map lisp-mode-shared-map) 279 (set-keymap-parent map lisp-mode-shared-map)
@@ -328,6 +329,16 @@ font-lock keywords will not be case sensitive."
328 (define-key prof-map [prof-func] 329 (define-key prof-map [prof-func]
329 '(menu-item "Instrument Function..." elp-instrument-function 330 '(menu-item "Instrument Function..." elp-instrument-function
330 :help "Instrument a function for profiling")) 331 :help "Instrument a function for profiling"))
332 (define-key menu-map [lint] (cons "Lint" lint-map))
333 (define-key lint-map [lint-b]
334 '(menu-item "Lint Buffer" elint-current-buffer
335 :help "Lint the current buffer"))
336 (define-key lint-map [lint-d]
337 '(menu-item "Lint Defun" elint-defun
338 :help "Lint the function at point"))
339 (define-key lint-map [lint-in]
340 '(menu-item "Lint Initialize" elint-initialize
341 :help "Lint Initialize"))
331 (define-key menu-map [edebug-defun] 342 (define-key menu-map [edebug-defun]
332 '(menu-item "Instrument Function for Debugging" edebug-defun 343 '(menu-item "Instrument Function for Debugging" edebug-defun
333 :help "Evaluate the top level form point is in, stepping through with Edebug" 344 :help "Evaluate the top level form point is in, stepping through with Edebug"