summaryrefslogtreecommitdiff
path: root/lisp/progmodes/inf-lisp.el
diff options
context:
space:
mode:
authorJohn Anthony <john@jo.hnanthony.com>2013-10-24 19:35:55 -0700
committerGlenn Morris <rgm@gnu.org>2013-10-24 19:35:55 -0700
commita0be396a4a31ed67e3953cdac830945bbeb494a9 (patch)
tree4926dd0ca72a3ce8e93c86ce87966f1e58618d8c /lisp/progmodes/inf-lisp.el
parentf5bf77dfaef2be1844865ca535714907bc657da3 (diff)
downloademacs-a0be396a4a31ed67e3953cdac830945bbeb494a9.tar.gz
* lisp/progmodes/inf-lisp.el (inferior-lisp-menu): Add menu.
Fixes: debbugs:15599
Diffstat (limited to 'lisp/progmodes/inf-lisp.el')
-rw-r--r--lisp/progmodes/inf-lisp.el15
1 files changed, 15 insertions, 0 deletions
diff --git a/lisp/progmodes/inf-lisp.el b/lisp/progmodes/inf-lisp.el
index d73e9489d7c..a9953e271dc 100644
--- a/lisp/progmodes/inf-lisp.el
+++ b/lisp/progmodes/inf-lisp.el
@@ -91,6 +91,21 @@ mode. Default is whitespace followed by 0 or 1 single-letter colon-keyword
(define-key map "\C-c\C-v" 'lisp-show-variable-documentation)
map))
+(easy-menu-define
+ inferior-lisp-menu
+ inferior-lisp-mode-map
+ "Inferior Lisp Menu"
+ '("Inf-Lisp"
+ ["Eval Last Sexp" lisp-eval-last-sexp t]
+ "--"
+ ["Load File..." lisp-load-file t]
+ ["Compile File..." lisp-compile-file t]
+ "--"
+ ["Show Arglist..." lisp-show-arglist t]
+ ["Describe Symbol..." lisp-describe-sym t]
+ ["Show Documentation for Function..." lisp-show-function-documentation t]
+ ["Show Documentation for Variable..." lisp-show-variable-documentation t]))
+
;;; These commands augment Lisp mode, so you can process Lisp code in
;;; the source files.
(define-key lisp-mode-map "\M-\C-x" 'lisp-eval-defun) ; Gnu convention