Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
76314f2c
Commit
76314f2c
authored
Sep 12, 2009
by
Glenn Morris
Browse files
(emacs-lisp-mode-map): Add menu entries to elint file and directory.
Remove initialization entry.
parent
6974be68
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
lisp/emacs-lisp/lisp-mode.el
lisp/emacs-lisp/lisp-mode.el
+7
-4
No files found.
lisp/emacs-lisp/lisp-mode.el
View file @
76314f2c
...
...
@@ -329,16 +329,19 @@ font-lock keywords will not be case sensitive."
(
define-key
prof-map
[prof-func]
'
(
menu-item
"Instrument Function..."
elp-instrument-function
:help
"Instrument a function for profiling"
))
(
define-key
menu-map
[lint]
(
cons
"Lint"
lint-map
))
(
define-key
menu-map
[lint]
(
cons
"Linting"
lint-map
))
(
define-key
lint-map
[lint-di]
'
(
menu-item
"Lint Directory..."
elint-directory
:help
"Lint a directory"
))
(
define-key
lint-map
[lint-f]
'
(
menu-item
"Lint File..."
elint-file
:help
"Lint a file"
))
(
define-key
lint-map
[lint-b]
'
(
menu-item
"Lint Buffer"
elint-current-buffer
:help
"Lint the current buffer"
))
(
define-key
lint-map
[lint-d]
'
(
menu-item
"Lint Defun"
elint-defun
:help
"Lint the function at point"
))
(
define-key
lint-map
[lint-in]
'
(
menu-item
"Lint Initialize"
elint-initialize
:help
"Lint Initialize"
))
(
define-key
menu-map
[edebug-defun]
'
(
menu-item
"Instrument Function for Debugging"
edebug-defun
:help
"Evaluate the top level form point is in, stepping through with Edebug"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment