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
a707eb05
Commit
a707eb05
authored
Jul 23, 2009
by
Dan Nicolaescu
Browse files
(emacs-lisp-mode-map): Add menu entries
for Lint.
parent
e05b6a4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/emacs-lisp/lisp-mode.el
lisp/emacs-lisp/lisp-mode.el
+11
-0
No files found.
lisp/ChangeLog
View file @
a707eb05
2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
* emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
for Lint.
2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
* vc.el (vc-print-log-internal): New function, split out from ...
...
...
lisp/emacs-lisp/lisp-mode.el
View file @
a707eb05
...
...
@@ -273,6 +273,7 @@ font-lock keywords will not be case sensitive."
(
defvar
emacs-lisp-mode-map
(
let
((
map
(
make-sparse-keymap
"Emacs-Lisp"
))
(
menu-map
(
make-sparse-keymap
"Emacs-Lisp"
))
(
lint-map
(
make-sparse-keymap
))
(
prof-map
(
make-sparse-keymap
))
(
tracing-map
(
make-sparse-keymap
)))
(
set-keymap-parent
map
lisp-mode-shared-map
)
...
...
@@ -328,6 +329,16 @@ 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
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