diff options
| author | Glenn Morris | 2009-09-12 02:42:03 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-09-12 02:42:03 +0000 |
| commit | 76314f2c03b15ca84074a0d955f49cbae0e78d2a (patch) | |
| tree | fa1c9be059929d1f8f1ef042b278f589e0ee8068 | |
| parent | 6974be68b6a243403ce44033bc0d556b134e75f3 (diff) | |
| download | emacs-76314f2c03b15ca84074a0d955f49cbae0e78d2a.tar.gz emacs-76314f2c03b15ca84074a0d955f49cbae0e78d2a.zip | |
(emacs-lisp-mode-map): Add menu entries to elint file and directory.
Remove initialization entry.
| -rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index 3360600fbff..29f8d5eb52c 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el | |||
| @@ -329,16 +329,19 @@ font-lock keywords will not be case sensitive." | |||
| 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" |