diff lisp/desktop.el @ 21303:346595905ae4

(desktop-load-default): Add autoload cookie. (desktop-read): Likewise.
author Richard M. Stallman <rms@gnu.org>
date Sat, 28 Mar 1998 07:32:50 +0000
parents a75bd4b8183d
children 8bfa13d10dd1
line wrap: on
line diff
--- a/lisp/desktop.el	Sat Mar 28 05:43:01 1998 +0000
+++ b/lisp/desktop.el	Sat Mar 28 07:32:50 1998 +0000
@@ -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 @@
 	(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 @@
 	    (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