summaryrefslogtreecommitdiff
path: root/lisp/ledit.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ledit.el')
-rw-r--r--lisp/ledit.el19
1 files changed, 12 insertions, 7 deletions
diff --git a/lisp/ledit.el b/lisp/ledit.el
index 0428fa8b22..2471b3f485 100644
--- a/lisp/ledit.el
+++ b/lisp/ledit.el
@@ -32,13 +32,16 @@
"File name for data sent to Lisp compiler by Ledit.")
(defconst ledit-buffer "*LEDIT*"
"Name of buffer in which Ledit accumulates data to send to Lisp.")
-;These are now in loaddefs.el
-;(defconst ledit-save-files t
-; "*Non-nil means Ledit should save files before transferring to Lisp.")
-;(defconst ledit-go-to-lisp-string "%?lisp"
-; "*Shell commands to execute to resume Lisp job.")
-;(defconst ledit-go-to-liszt-string "%?liszt"
-; "*Shell commands to execute to resume Lisp compiler job.")
+
+;;;###autoload
+(defconst ledit-save-files t
+ "*Non-nil means Ledit should save files before transferring to Lisp.")
+;;;###autoload
+(defconst ledit-go-to-lisp-string "%?lisp"
+ "*Shell commands to execute to resume Lisp job.")
+;;;###autoload
+(defconst ledit-go-to-liszt-string "%?liszt"
+ "*Shell commands to execute to resume Lisp compiler job.")
(defun ledit-save-defun ()
"Save the current defun in the ledit buffer"
@@ -115,6 +118,7 @@
(ledit-setup)
+;;;###autoload
(defun ledit-mode ()
"\\<ledit-mode-map>Major mode for editing text and stuffing it to a Lisp job.
Like Lisp mode, plus these special commands:
@@ -131,6 +135,7 @@ do (setq lisp-mode-hook 'ledit-from-lisp-mode)"
(lisp-mode)
(ledit-from-lisp-mode))
+;;;###autoload
(defun ledit-from-lisp-mode ()
(use-local-map ledit-mode-map)
(setq mode-name "Ledit")