Function: save-place-mode
save-place-mode is an autoloaded, interactive and byte-compiled
function defined in saveplace.el.gz.
Signature
(save-place-mode &optional ARG)
Documentation
Non-nil means automatically save place in each file.
This means when you visit a file, point goes to the last place where it was when you previously visited the same file.
This is a global minor mode. If called interactively, toggle the
Save-Place mode mode. If the prefix argument is positive, enable the
mode, and if it is zero or negative, disable the mode.
If called from Lisp, toggle the mode if ARG is toggle. Enable the
mode if ARG is nil, omitted, or is a positive number. Disable the mode
if ARG is a negative number.
To check whether the minor mode is enabled in the current buffer,
evaluate (default-value \=save-place-mode)'.
The mode's hook is called both when the mode is enabled and when it is disabled.
Probably introduced at or before Emacs version 25.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/saveplace.el.gz
;;;###autoload
(define-minor-mode save-place-mode
"Non-nil means automatically save place in each file.
This means when you visit a file, point goes to the last place
where it was when you previously visited the same file."
:global t
:group 'save-place
(save-place--setup-hooks save-place-mode))