Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
478653c9
Commit
478653c9
authored
Mar 28, 1998
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(desktop-load-default): Add autoload cookie.
(desktop-read): Likewise.
parent
89f1709f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
lisp/desktop.el
lisp/desktop.el
+3
-2
No files found.
lisp/desktop.el
View file @
478653c9
...
...
@@ -35,10 +35,9 @@
;; - buffer-read-only
;; - some local variables
;; To use this, first put these t
hree
lines in the bottom of your .emacs
;; To use this, first put these t
wo
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment