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

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

Re: Persistence of variables


From: Marcin Borkowski
Subject: Re: Persistence of variables
Date: Wed, 21 Mar 2018 11:26:37 +0100
User-agent: mu4e 1.1.0; emacs 27.0.50

On 2018-03-21, at 10:53, Eric Abrahamsen <eric@ericabrahamsen.net> wrote:

> 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.

Interestringly, I have this mode turned on, but I can see no traces of
turning it on in my init.el

Thanks!

-- 
Marcin Borkowski
http://mbork.pl



reply via email to

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