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: Sun, 25 Mar 2018 19:12:01 +0200
User-agent: mu4e 1.1.0; emacs 27.0.50

On 2018-03-21, at 16:12, Drew Adams <drew.adams@oracle.com> wrote:

>> > 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.
>
> There are several possibilities, including these:
>
> 1. `savehist.el' (what Eric said)
> 2. Customize (option value)
> 3. Bookmark (e.g., Bookmark+ variable-list bookmark)
> 4. Desktop
>
> If you only want to save one variable, just use an option.

One variable, but I don't like Customize.  Also, even though I set the
type as "directory", autocompletion somehow didn't work for me (in the
Customize interface).

Best,

-- 
Marcin Borkowski
http://mbork.pl



reply via email to

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