save-place

save-place is a variable defined in `saveplace.el'.
Its value is
nil

  • Automatically becomes buffer-local when set.

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.

If you wish your place in any file to always be automatically
saved, set this to t using the Customize facility, or put the
following code in your init file:

(setq-default save-place t)
(require 'saveplace)

You can customize this variable.