GNU ELPA — persist

persist Atom Feed

Description
Persist Variables between Emacs Sessions
Latest
persist-0.8.tar (.sig), 2026-May-17, 30.0 KiB
Maintainer
Joseph Turner <persist-el@breatheoutbreathe.in>
Website
https://elpa.gnu.org/packages/persist.html
Browse repository
CGit or Gitweb
All Dependencies
compat (.tar)
Badge

To install this package from Emacs, use package-install or list-packages.

Full description

This package provides variables which persist across sessions.

The main entry point is `persist-defvar' which behaves like
`defvar' but which persists the variables between session.  Variables
are automatically saved when Emacs exits.

Other useful functions are `persist-save' which saves the variable
immediately, `persist-load' which loads the saved value,
`persist-reset' which resets to the default value.

Values are stored in a directory in `user-emacs-directory', using
one file per value.  This makes it easy to delete or remove unused
variables.

Old versions