💾 Archived View for perso.pw › blog › articles › 24.gmi captured on 2023-01-29 at 04:23:33. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-17)

➡️ Next capture (2023-05-24)

🚧 View Differences

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

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 :)