Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
52b9a931
Commit
52b9a931
authored
Mar 05, 1996
by
Richard M. Stallman
Browse files
(save-place-kill-emacs-hook): Don't save
if we never loaded the save-place-file.
parent
c01e66e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
lisp/saveplace.el
lisp/saveplace.el
+4
-2
No files found.
lisp/saveplace.el
View file @
52b9a931
...
...
@@ -211,8 +211,10 @@ To save places automatically in all files, put this in your `.emacs' file:
(
setq
save-place
t
)))))
(
defun
save-place-kill-emacs-hook
()
(
save-places-to-alist
)
(
save-place-alist-to-file
))
(
if
save-place-loaded
(
progn
(
save-places-to-alist
)
(
save-place-alist-to-file
))))
(
add-hook
'find-file-hooks
'save-place-find-file-hook
t
)
...
...
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