diff options
| author | Healfdene Goguen | 1998-05-06 15:29:30 +0000 |
|---|---|---|
| committer | Healfdene Goguen | 1998-05-06 15:29:30 +0000 |
| commit | 6b1154b7b0bebe46fc38b09fc5082a961d24a052 (patch) | |
| tree | 1f1959137d0000b4ea732b81ed3bd8e3ece2d578 | |
| parent | c50d5ce5db513ab604932bd429ef095b5e8c4e40 (diff) | |
Added lego-info-dir so that location of script-management.info can be
hard-coded.
| -rw-r--r-- | lego.el | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -5,6 +5,10 @@ ;; $Log$ +;; Revision 1.40 1998/05/06 15:29:30 hhg +;; Added lego-info-dir so that location of script-management.info can be +;; hard-coded. +;; ;; Revision 1.39 1998/05/05 14:22:48 hhg ;; Added lego-goal-command-p to fix Coq's problem with "Definition". ;; Removed lego-killref from menu. @@ -97,6 +101,8 @@ (defvar lego-tags "/home/tms/lib/lib_Type/TAGS" "the default TAGS table for the LEGO library") +(defconst lego-info-dir "/usr/local/share/info") + (defconst lego-process-config "Configure PrettyOn; Configure AnnotateOn;" "Command to enable pretty printing of the LEGO process.") @@ -253,7 +259,7 @@ (w3-fetch lego-library-www-page) t] ["The LEGO Proof-assistant (WWW)" (w3-fetch lego-www-home-page) t] - ["Help on Emacs LEGO-mode" describe-mode t] + ["Help on Emacs LEGO-mode" lego-info-mode t] ["Customisation" (w3-fetch lego-www-customisation-page) t] )))) @@ -465,6 +471,11 @@ ;; Commands specific to lego ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +(defun lego-info-mode () + "Info mode on LEGO." + (interactive) + (info "script-management")) + (defun lego-help () "Print help message giving syntax." (interactive) @@ -681,6 +692,9 @@ (setq font-lock-keywords lego-font-lock-keywords-1) +;; Info + (if (not (memq lego-info-dir Info-directory-list)) + (setq Info-directory-list (cons lego-info-dir Info-directory-list))) ;; where to find files |
