Mercurial > emacs
comparison lisp/emacs-lisp/lisp-mode.el @ 104975:b866a533c9f3
(emacs-lisp-mode-map): Add menu entries to elint file and directory.
Remove initialization entry.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 12 Sep 2009 02:42:03 +0000 |
parents | bd9adfb1acc9 |
children | ffba73e9bedc |
comparison
equal
deleted
inserted
replaced
104974:646ba543ede9 | 104975:b866a533c9f3 |
---|---|
327 '(menu-item "Instrument Package..." elp-instrument-package | 327 '(menu-item "Instrument Package..." elp-instrument-package |
328 :help "Instrument for profiling all function that start with a prefix")) | 328 :help "Instrument for profiling all function that start with a prefix")) |
329 (define-key prof-map [prof-func] | 329 (define-key prof-map [prof-func] |
330 '(menu-item "Instrument Function..." elp-instrument-function | 330 '(menu-item "Instrument Function..." elp-instrument-function |
331 :help "Instrument a function for profiling")) | 331 :help "Instrument a function for profiling")) |
332 (define-key menu-map [lint] (cons "Lint" lint-map)) | 332 (define-key menu-map [lint] (cons "Linting" lint-map)) |
333 (define-key lint-map [lint-di] | |
334 '(menu-item "Lint Directory..." elint-directory | |
335 :help "Lint a directory")) | |
336 (define-key lint-map [lint-f] | |
337 '(menu-item "Lint File..." elint-file | |
338 :help "Lint a file")) | |
333 (define-key lint-map [lint-b] | 339 (define-key lint-map [lint-b] |
334 '(menu-item "Lint Buffer" elint-current-buffer | 340 '(menu-item "Lint Buffer" elint-current-buffer |
335 :help "Lint the current buffer")) | 341 :help "Lint the current buffer")) |
336 (define-key lint-map [lint-d] | 342 (define-key lint-map [lint-d] |
337 '(menu-item "Lint Defun" elint-defun | 343 '(menu-item "Lint Defun" elint-defun |
338 :help "Lint the function at point")) | 344 :help "Lint the function at point")) |
339 (define-key lint-map [lint-in] | |
340 '(menu-item "Lint Initialize" elint-initialize | |
341 :help "Lint Initialize")) | |
342 (define-key menu-map [edebug-defun] | 345 (define-key menu-map [edebug-defun] |
343 '(menu-item "Instrument Function for Debugging" edebug-defun | 346 '(menu-item "Instrument Function for Debugging" edebug-defun |
344 :help "Evaluate the top level form point is in, stepping through with Edebug" | 347 :help "Evaluate the top level form point is in, stepping through with Edebug" |
345 :keys "C-u C-M-x")) | 348 :keys "C-u C-M-x")) |
346 (define-key menu-map [separator-byte] '("--")) | 349 (define-key menu-map [separator-byte] '("--")) |