home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / lemacs-19.6 / lisp / ilisp / ilisp-menu.el < prev    next >
Encoding:
Text File  |  1992-06-29  |  1.4 KB  |  37 lines

  1. (require 'simple-menu)
  2. (setplist 'lisp-command-menu nil)
  3. (def-menu 'lisp-command-menu
  4.     "Lisp"
  5.   "These ILISP commands are available on the menu:"
  6.   '(
  7.     ("Break        Interupt current lisp."  
  8.      (progn (switch-to-lisp t)
  9.         (interrupt-subjob-ilisp)))
  10.     ("Doc          Menu of commands to get help on variables, etc."
  11.      documentation-lisp-command-menu)
  12.     ("Xpand        macroexpand-lisp."        macroexpand-lisp)
  13.     ("Eval         Eval the surrounding defun." eval-defun-lisp)
  14.     ("1E&G         Eval defun and goto Inferior LISP." eval-defun-and-go-lisp)
  15.     (";            Comment the region."   comment-region-lisp)
  16.     (")            find-unbalanced-lisp parens." find-unbalanced-lisp)
  17.     ("]            close-all-lisp parens that are open." close-all-lisp)
  18.     ("Trace        Traces the previous function symbol." trace-lisp)
  19.     )
  20.   )
  21.  
  22. (setplist 'documentation-lisp-command-menu nil)
  23. (def-menu 'documentation-lisp-command-menu
  24.     "Lisp help"
  25.   "These commands are available for examining Lisp structures:"
  26.   '(
  27.     ("UDoc         Get user's documentation string." documentation-lisp)
  28.     ("Rglist       Get the arglist for function." arglist-lisp)
  29.     ("Insp         Inspect the current sexp." inspect-lisp)
  30.     ("1Insp        Prompts for something to inspect." (inspect-lisp -4))
  31.     ("Descr        Describe the current sexp." describe-lisp)
  32.     ("1Descr       Prompts for something to describe." (describe-lisp -4))
  33.     )
  34.   )
  35.  
  36. (provide 'ilisp-menu)
  37.