HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58c4d0c
)
(save-place-find-file-hook): Check after-find-file-from-revert-buffer.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 6 Sep 1994 02:16:33 +0000
(
02:16
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 6 Sep 1994 02:16:33 +0000
(
02:16
+0000)
lisp/saveplace.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/saveplace.el
b/lisp/saveplace.el
index
c292752
..
e7b28e7
100644
(file)
--- a/
lisp/saveplace.el
+++ b/
lisp/saveplace.el
@@
-178,7
+178,8
@@
To save places automatically in all files, put this in your `.emacs' file:
(let ((cell (assoc buffer-file-name save-place-alist)))
(if cell
(progn
- (goto-char (cdr cell))
+ (or after-find-file-from-revert-buffer
+ (goto-char (cdr cell)))
;; and make sure it will be saved again for later
(setq save-place t)))))