[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [External] : Saving variables for use between emacs sessions
From: |
Drew Adams |
Subject: |
RE: [External] : Saving variables for use between emacs sessions |
Date: |
Thu, 15 Sep 2022 17:23:25 +0000 |
> Right, I want to have a user option, but although I want to allow a user
> to set the value,
> I also would like to set a value in an automatic way, using a function
> that does the
> necessary calculations, and stares the answer in the variable.
>
> How does one let a user change a value, and how can I save it
> automatically as well?
Just define the option with defcustom.
Users can use Customize to change the
value and save that new setting to their
`custom-file' or init file.
Or they can use `custom*' functions to
set and to save. Or you can use such
functions to do that for them "in an
automatic way".
Just look into what's available - it's
all there. You, yourself, can easily
check it out.
- Saving variables for use between emacs sessions, uzibalqa, 2022/09/15
- RE: [External] : Saving variables for use between emacs sessions, Drew Adams, 2022/09/15
- Re: [External] : Saving variables for use between emacs sessions, Robert Pluim, 2022/09/15
- Re: [External] : Saving variables for use between emacs sessions, Marcin Borkowski, 2022/09/15
- RE: [External] : Saving variables for use between emacs sessions, Drew Adams, 2022/09/15
- Re: [External] : Saving variables for use between emacs sessions, uzibalqa, 2022/09/15
- RE: [External] : Saving variables for use between emacs sessions,
Drew Adams <=
- RE: [External] : Saving variables for use between emacs sessions, uzibalqa, 2022/09/15
- RE: [External] : Saving variables for use between emacs sessions, Drew Adams, 2022/09/15
- RE: [External] : Saving variables for use between emacs sessions, uzibalqa, 2022/09/15
- Re: [External] : Saving variables for use between emacs sessions, Jean Louis, 2022/09/16
- Re: [External] : Saving variables for use between emacs sessions, uzibalqa, 2022/09/16