summaryrefslogtreecommitdiff
path: root/lisp/saveplace.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2016-02-24 21:54:21 +0200
committerEli Zaretskii <eliz@gnu.org>2016-02-24 21:54:21 +0200
commit7c81a0b9c68315511b98272d0aa40962d82f6e66 (patch)
tree250a43a4b445209761739d4c607653bdea26c08c /lisp/saveplace.el
parentcab3f0a222412b1fd592b1c2f1e305fa245f9279 (diff)
downloademacs-7c81a0b9c68315511b98272d0aa40962d82f6e66.tar.gz
Improve documentation of 'save-place-mode'
* lisp/saveplace.el (toggle-save-place): Update the doc string wrt turning on 'save-place-mode' globally. * etc/NEWS: Mention the need to call 'save-place-mode' for turning on the mode in all buffers.
Diffstat (limited to 'lisp/saveplace.el')
-rw-r--r--lisp/saveplace.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/saveplace.el b/lisp/saveplace.el
index c9148dcfc50..c27df150248 100644
--- a/lisp/saveplace.el
+++ b/lisp/saveplace.el
@@ -155,7 +155,7 @@ the argument is positive.
To save places automatically in all files, put this in your init
file:
-\(setq-default save-place t)"
+\(save-place-mode 1)"
(interactive "P")
(if (not (or buffer-file-name (and (derived-mode-p 'dired-mode)
(boundp 'dired-subdir-alist)