Comments on 2024-11-04 Persisting variables across Emacs sessions

Why not just use savehist.el? It’s been standard since Emacs 22.1.

– Anonymous 2024-11-04 14:24 UTC


I didn’t know about savehist, but from a cursory look I can see a drawback – if I explicitly don’t want to persist all histories, there is much more to configure.

Also, it looks like savehist is aimed at users while persist is more for package developers. For example, the list of variables to save with savehist is centralized, unlike persist.

– mbork 2024-11-05 11:46 UTC