💾 Archived View for perso.pw › blog › articles › 24.gmi captured on 2022-04-29 at 11:32:18. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-17)

➡️ Next capture (2023-01-29)

-=-=-=-=-=-=-

Emacs 25: save cursor position

NIL=> Comment on Mastodon

Since I upgraded to Emacs 25 it was no longer saving my last cursor

position in edited file. This is a feature I really like because I

often fire and close emacs rather than keeping it opened.

Before (< emacs 25)

(setq save-place-file "~/.emacs.d/saveplace")

(setq-default save-place t)

(require 'saveplace)

Emacs 25

(save-place-mode t)

(setq save-place-file "~/.emacs.d/saveplace")

(setq-default save-place t)

That's all :)