0
|
1 ;;; -*- Mode: Emacs-Lisp -*-
|
|
2
|
|
3 ;;; ilisp-menu.el --
|
|
4
|
|
5 ;;; This file is part of ILISP.
|
|
6 ;;; Version: 5.7
|
|
7 ;;;
|
|
8 ;;; Copyright (C) 1990, 1991, 1992, 1993 Chris McConnell
|
|
9 ;;; 1993, 1994 Ivan Vasquez
|
|
10 ;;; 1994, 1995 Marco Antoniotti and Rick Busdiecker
|
|
11 ;;;
|
|
12 ;;; Other authors' names for which this Copyright notice also holds
|
|
13 ;;; may appear later in this file.
|
|
14 ;;;
|
|
15 ;;; Send mail to 'ilisp-request@lehman.com' to be included in the
|
|
16 ;;; ILISP mailing list. 'ilisp@lehman.com' is the general ILISP
|
|
17 ;;; mailing list were bugs and improvements are discussed.
|
|
18 ;;;
|
|
19 ;;; ILISP is freely redistributable under the terms found in the file
|
|
20 ;;; COPYING.
|
|
21
|
|
22
|
|
23
|
|
24 (require 'simple-menu)
|
|
25 (setplist 'lisp-command-menu nil)
|
|
26 (def-menu 'lisp-command-menu
|
|
27 "Lisp"
|
|
28 "These ILISP commands are available on the menu:"
|
|
29 '(
|
|
30 ("Break Interupt current lisp."
|
|
31 (progn (switch-to-lisp t)
|
|
32 (interrupt-subjob-ilisp)))
|
|
33 ("Doc Menu of commands to get help on variables, etc."
|
|
34 documentation-lisp-command-menu)
|
|
35 ("Xpand macroexpand-lisp." macroexpand-lisp)
|
|
36 ("Eval Eval the surrounding defun." eval-defun-lisp)
|
|
37 ("1E&G Eval defun and goto Inferior LISP." eval-defun-and-go-lisp)
|
|
38 ("; Comment the region." comment-region-lisp)
|
|
39 (") find-unbalanced-lisp parens." find-unbalanced-lisp)
|
|
40 ("] close-all-lisp parens that are open." close-all-lisp)
|
|
41 ("Trace Traces the previous function symbol." trace-lisp)
|
|
42 )
|
|
43 )
|
|
44
|
|
45 (setplist 'documentation-lisp-command-menu nil)
|
|
46 (def-menu 'documentation-lisp-command-menu
|
|
47 "Lisp help"
|
|
48 "These commands are available for examining Lisp structures:"
|
|
49 '(
|
|
50 ("UDoc Get user's documentation string." documentation-lisp)
|
|
51 ("Rglist Get the arglist for function." arglist-lisp)
|
|
52 ("Insp Inspect the current sexp." inspect-lisp)
|
|
53 ("1Insp Prompts for something to inspect." (inspect-lisp -4))
|
|
54 ("Descr Describe the current sexp." describe-lisp)
|
|
55 ("1Descr Prompts for something to describe." (describe-lisp -4))
|
|
56 )
|
|
57 )
|
|
58
|
|
59 (provide 'ilisp-menu)
|