help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Persistence of variables


From: Eric Abrahamsen
Subject: Re: Persistence of variables
Date: Wed, 21 Mar 2018 17:53:43 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Marcin Borkowski <mbork@mbork.pl> writes:

> On 2018-03-21, at 07:55, Eli Zaretskii <eliz@gnu.org> wrote:
>
>>> From: Marcin Borkowski <mbork@mbork.pl>
>>> Date: Wed, 21 Mar 2018 07:08:44 +0100
>>> 
>>> I want to make a variable persistent across Emacs sessions.  How do I do
>>> it?
>>
>> Did you consider desktop.el?
>
> No, I did not remember about its existence.
>
> But no, way too heavy.  I want _one variable_ to persist, and nothing
> more.

If you already use savehist-mode, you can add your variable to
savehist-additional-variables.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]