aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2008-04-02 06:29:40 +0000
committerDan Nicolaescu2008-04-02 06:29:40 +0000
commit5e8bbcc4c97f374f9e102267b7c78e4bd77b0d0b (patch)
treea5f4279b4606d71a06b24b769a5acac0004ac25b
parentdebf91fda602a6aa51f15c9709a6e7d739ca8704 (diff)
downloademacs-5e8bbcc4c97f374f9e102267b7c78e4bd77b0d0b.tar.gz
emacs-5e8bbcc4c97f374f9e102267b7c78e4bd77b0d0b.zip
(emacs-lisp-mode-map): Add menu entries
for tracing and re-builder.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/emacs-lisp/lisp-mode.el20
2 files changed, 24 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 380aa4c111e..41da617afb7 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12008-04-02 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
4 for tracing and re-builder.
5
12008-04-02 Glenn Morris <rgm@gnu.org> 62008-04-02 Glenn Morris <rgm@gnu.org>
2 7
3 * calendar/appt.el (appt-disp-window-function): Doc fix. 8 * calendar/appt.el (appt-disp-window-function): Doc fix.
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el
index d264de6834f..ad54d1b1774 100644
--- a/lisp/emacs-lisp/lisp-mode.el
+++ b/lisp/emacs-lisp/lisp-mode.el
@@ -273,7 +273,8 @@
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 (prof-map (make-sparse-keymap))) 276 (prof-map (make-sparse-keymap))
277 (tracing-map (make-sparse-keymap)))
277 (set-keymap-parent map lisp-mode-shared-map) 278 (set-keymap-parent map lisp-mode-shared-map)
278 (define-key map "\e\t" 'lisp-complete-symbol) 279 (define-key map "\e\t" 'lisp-complete-symbol)
279 (define-key map "\e\C-x" 'eval-defun) 280 (define-key map "\e\C-x" 'eval-defun)
@@ -286,6 +287,23 @@
286 (define-key menu-map [checkdoc] 287 (define-key menu-map [checkdoc]
287 '(menu-item "Check Documentation Strings" checkdoc 288 '(menu-item "Check Documentation Strings" checkdoc
288 :help "Check documentation strings for style requirements")) 289 :help "Check documentation strings for style requirements"))
290 (define-key menu-map [re-builder]
291 '(menu-item "Construct Regexp" re-builder
292 :help "Construct a regexp interactively"))
293 (define-key menu-map [tracing] (cons "Tracing" tracing-map))
294 (define-key tracing-map [tr-a]
295 '(menu-item "Untrace all" untrace-all
296 :help "Untraces all currently traced functions"))
297 (define-key tracing-map [tr-uf]
298 '(menu-item "Untrace function..." untrace-function
299 :help "Untraces FUNCTION and possibly activates all remaining advice"))
300 (define-key tracing-map [tr-sep] '("--"))
301 (define-key tracing-map [tr-q]
302 '(menu-item "Trace function quietly..." trace-function
303 :help "Trace the function with trace output going quietly to a buffer"))
304 (define-key tracing-map [tr-f]
305 '(menu-item "Trace function..." trace-function
306 :help "Trace the function given as a argument"))
289 (define-key menu-map [profiling] (cons "Profiling" prof-map)) 307 (define-key menu-map [profiling] (cons "Profiling" prof-map))
290 (define-key prof-map [prof-restall] 308 (define-key prof-map [prof-restall]
291 '(menu-item "Remove Instrumentation for All Functions" elp-restore-all 309 '(menu-item "Remove Instrumentation for All Functions" elp-restore-all