Mercurial > emacs
comparison lisp/emacs-lisp/lisp-mode.el @ 105941:d1bb0f3aad35
* net/eudc.el (eudc-tools-menu):
* international/mule-cmds.el (set-coding-system-map)
(mule-menu-keymap):
* emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
* vc-hooks.el (vc-menu-map): Use menu-bar-separator.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Wed, 11 Nov 2009 06:06:43 +0000 |
parents | 26baacb565b0 |
children | 806e9f7990d8 |
comparison
equal
deleted
inserted
replaced
105940:f7147d70f6ef | 105941:d1bb0f3aad35 |
---|---|
299 `(menu-item ,(purecopy "Untrace all") untrace-all | 299 `(menu-item ,(purecopy "Untrace all") untrace-all |
300 :help ,(purecopy "Untrace all currently traced functions"))) | 300 :help ,(purecopy "Untrace all currently traced functions"))) |
301 (define-key tracing-map [tr-uf] | 301 (define-key tracing-map [tr-uf] |
302 `(menu-item ,(purecopy "Untrace function...") untrace-function | 302 `(menu-item ,(purecopy "Untrace function...") untrace-function |
303 :help ,(purecopy "Untrace function, and possibly activate all remaining advice"))) | 303 :help ,(purecopy "Untrace function, and possibly activate all remaining advice"))) |
304 (define-key tracing-map [tr-sep] '("--")) | 304 (define-key tracing-map [tr-sep] menu-bar-separator) |
305 (define-key tracing-map [tr-q] | 305 (define-key tracing-map [tr-q] |
306 `(menu-item ,(purecopy "Trace function quietly...") trace-function-background | 306 `(menu-item ,(purecopy "Trace function quietly...") trace-function-background |
307 :help ,(purecopy "Trace the function with trace output going quietly to a buffer"))) | 307 :help ,(purecopy "Trace the function with trace output going quietly to a buffer"))) |
308 (define-key tracing-map [tr-f] | 308 (define-key tracing-map [tr-f] |
309 `(menu-item ,(purecopy "Trace function...") trace-function | 309 `(menu-item ,(purecopy "Trace function...") trace-function |
314 :help ,(purecopy "Restore the original definitions of all functions being profiled"))) | 314 :help ,(purecopy "Restore the original definitions of all functions being profiled"))) |
315 (define-key prof-map [prof-restfunc] | 315 (define-key prof-map [prof-restfunc] |
316 `(menu-item ,(purecopy "Remove Instrumentation for Function...") elp-restore-function | 316 `(menu-item ,(purecopy "Remove Instrumentation for Function...") elp-restore-function |
317 :help ,(purecopy "Restore an instrumented function to its original definition"))) | 317 :help ,(purecopy "Restore an instrumented function to its original definition"))) |
318 | 318 |
319 (define-key prof-map [sep-rem] '("--")) | 319 (define-key prof-map [sep-rem] menu-bar-separator) |
320 (define-key prof-map [prof-resall] | 320 (define-key prof-map [prof-resall] |
321 `(menu-item ,(purecopy "Reset Counters for All Functions") elp-reset-all | 321 `(menu-item ,(purecopy "Reset Counters for All Functions") elp-reset-all |
322 :help ,(purecopy "Reset the profiling information for all functions being profiled"))) | 322 :help ,(purecopy "Reset the profiling information for all functions being profiled"))) |
323 (define-key prof-map [prof-resfunc] | 323 (define-key prof-map [prof-resfunc] |
324 `(menu-item ,(purecopy "Reset Counters for Function...") elp-reset-function | 324 `(menu-item ,(purecopy "Reset Counters for Function...") elp-reset-function |
347 :help ,(purecopy "Lint the function at point"))) | 347 :help ,(purecopy "Lint the function at point"))) |
348 (define-key menu-map [edebug-defun] | 348 (define-key menu-map [edebug-defun] |
349 `(menu-item ,(purecopy "Instrument Function for Debugging") edebug-defun | 349 `(menu-item ,(purecopy "Instrument Function for Debugging") edebug-defun |
350 :help ,(purecopy "Evaluate the top level form point is in, stepping through with Edebug") | 350 :help ,(purecopy "Evaluate the top level form point is in, stepping through with Edebug") |
351 :keys ,(purecopy "C-u C-M-x"))) | 351 :keys ,(purecopy "C-u C-M-x"))) |
352 (define-key menu-map [separator-byte] '("--")) | 352 (define-key menu-map [separator-byte] menu-bar-separator) |
353 (define-key menu-map [disas] | 353 (define-key menu-map [disas] |
354 `(menu-item ,(purecopy "Disassemble byte compiled object...") disassemble | 354 `(menu-item ,(purecopy "Disassemble byte compiled object...") disassemble |
355 :help ,(purecopy "Print disassembled code for OBJECT in a buffer"))) | 355 :help ,(purecopy "Print disassembled code for OBJECT in a buffer"))) |
356 (define-key menu-map [byte-recompile] | 356 (define-key menu-map [byte-recompile] |
357 `(menu-item ,(purecopy "Byte-recompile Directory...") byte-recompile-directory | 357 `(menu-item ,(purecopy "Byte-recompile Directory...") byte-recompile-directory |
360 `(menu-item ,(purecopy "Byte-compile And Load") emacs-lisp-byte-compile-and-load | 360 `(menu-item ,(purecopy "Byte-compile And Load") emacs-lisp-byte-compile-and-load |
361 :help ,(purecopy "Byte-compile the current file (if it has changed), then load compiled code"))) | 361 :help ,(purecopy "Byte-compile the current file (if it has changed), then load compiled code"))) |
362 (define-key menu-map [byte-compile] | 362 (define-key menu-map [byte-compile] |
363 `(menu-item ,(purecopy "Byte-compile This File") emacs-lisp-byte-compile | 363 `(menu-item ,(purecopy "Byte-compile This File") emacs-lisp-byte-compile |
364 :help ,(purecopy "Byte compile the file containing the current buffer"))) | 364 :help ,(purecopy "Byte compile the file containing the current buffer"))) |
365 (define-key menu-map [separator-eval] '("--")) | 365 (define-key menu-map [separator-eval] menu-bar-separator) |
366 (define-key menu-map [ielm] | 366 (define-key menu-map [ielm] |
367 `(menu-item ,(purecopy "Interactive Expression Evaluation") ielm | 367 `(menu-item ,(purecopy "Interactive Expression Evaluation") ielm |
368 :help ,(purecopy "Interactively evaluate Emacs Lisp expressions"))) | 368 :help ,(purecopy "Interactively evaluate Emacs Lisp expressions"))) |
369 (define-key menu-map [eval-buffer] | 369 (define-key menu-map [eval-buffer] |
370 `(menu-item ,(purecopy "Evaluate Buffer") eval-buffer | 370 `(menu-item ,(purecopy "Evaluate Buffer") eval-buffer |
374 :help ,(purecopy "Execute the region as Lisp code") | 374 :help ,(purecopy "Execute the region as Lisp code") |
375 :enable mark-active)) | 375 :enable mark-active)) |
376 (define-key menu-map [eval-sexp] | 376 (define-key menu-map [eval-sexp] |
377 `(menu-item ,(purecopy "Evaluate Last S-expression") eval-last-sexp | 377 `(menu-item ,(purecopy "Evaluate Last S-expression") eval-last-sexp |
378 :help ,(purecopy "Evaluate sexp before point; print value in minibuffer"))) | 378 :help ,(purecopy "Evaluate sexp before point; print value in minibuffer"))) |
379 (define-key menu-map [separator-format] '("--")) | 379 (define-key menu-map [separator-format] menu-bar-separator) |
380 (define-key menu-map [comment-region] | 380 (define-key menu-map [comment-region] |
381 `(menu-item ,(purecopy "Comment Out Region") comment-region | 381 `(menu-item ,(purecopy "Comment Out Region") comment-region |
382 :help ,(purecopy "Comment or uncomment each line in the region") | 382 :help ,(purecopy "Comment or uncomment each line in the region") |
383 :enable mark-active)) | 383 :enable mark-active)) |
384 (define-key menu-map [indent-region] | 384 (define-key menu-map [indent-region] |
385 `(menu-item ,(purecopy "Indent Region") indent-region | 385 `(menu-item ,(purecopy "Indent Region") indent-region |
386 :help ,(purecopy "Indent each nonblank line in the region") | 386 :help ,(purecopy "Indent each nonblank line in the region") |
387 :enable mark-active)) | 387 :enable mark-active)) |
388 (define-key menu-map [indent-line] '("Indent Line" . lisp-indent-line)) | 388 (define-key menu-map [indent-line] |
389 `(menu-item ,(purecopy "Indent Line") lisp-indent-line)) | |
389 map) | 390 map) |
390 "Keymap for Emacs Lisp mode. | 391 "Keymap for Emacs Lisp mode. |
391 All commands in `lisp-mode-shared-map' are inherited by this map.") | 392 All commands in `lisp-mode-shared-map' are inherited by this map.") |
392 | 393 |
393 (defun emacs-lisp-byte-compile () | 394 (defun emacs-lisp-byte-compile () |