summaryrefslogtreecommitdiff
path: root/lisp/desktop.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-03-28 07:32:50 +0000
committerRichard M. Stallman <rms@gnu.org>1998-03-28 07:32:50 +0000
commit478653c95d0c5a9e07dae3f64258d21ea74ca98b (patch)
tree4a584dd7234b3c07add86b9ed44fe6717802d4b8 /lisp/desktop.el
parent89f1709fdea722f418d6002ff564ce09c65e57cc (diff)
downloademacs-478653c95d0c5a9e07dae3f64258d21ea74ca98b.tar.gz
(desktop-load-default): Add autoload cookie.
(desktop-read): Likewise.
Diffstat (limited to 'lisp/desktop.el')
-rw-r--r--lisp/desktop.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/desktop.el b/lisp/desktop.el
index b31f17353da..61502a6a828 100644
--- a/lisp/desktop.el
+++ b/lisp/desktop.el
@@ -35,10 +35,9 @@
;; - buffer-read-only
;; - some local variables
-;; To use this, first put these three lines in the bottom of your .emacs
+;; To use this, first put these two lines in the bottom of your .emacs
;; file (the later the better):
;;
-;; (load "desktop")
;; (desktop-load-default)
;; (desktop-read)
;;
@@ -503,6 +502,7 @@ MODE is the major mode."
(if (file-exists-p filename)
(delete-file filename)))))
;; ----------------------------------------------------------------------------
+;;;###autoload
(defun desktop-read ()
"Read the Desktop file and the files it specifies.
This is a no-op when Emacs is running in batch mode."
@@ -525,6 +525,7 @@ This is a no-op when Emacs is running in batch mode."
(message "Desktop loaded."))
(desktop-clear)))))
;; ----------------------------------------------------------------------------
+;;;###autoload
(defun desktop-load-default ()
"Load the `default' start-up library manually.
Also inhibit further loading of it. Call this from your `.emacs' file