Re: Using the :set to make an alist

Heime <[email protected]>
Newsgroups gmane.emacs.help
Message-ID <ymALf9bFVdub9qk4hZ1dM_JyTJXDTs8hdA88ziBRysuE0ZEPee0ZBaVleHs_lAJ78aL76791AnNlnji6eayguP1gHJFM7X58Zrb-EkuUbKU=@protonmail.com>
On Thursday, August 20th, 2026 at 4:59 AM, [email protected] <[email protected]> wrote:

> Heime <[email protected]> writes:
> 
> >
> > Where should I call setopt exactly?
> >
> 
> Not where, but when.  After your definitions (defun,
> defcustom) have been evaluated.  You can call ‘setopt’ in an
> elisp buffer, in the *scratch* buffer, with M-:, or in your
> Emacs initialization file.

I hoped to declare the initial value in the defcustom definition.
But unsure how ta apply a binding for  (assoc-default 'GLXKS orellana-fpln)
to be used as a base directory.
 
> You can also call ‘customize-option’, which will allow you
> to change and set the value of your option, and allow you to
> save the new value.
> 
> --
> The lyf so short, the craft so long to lerne.
> - Geoffrey Chaucer, The Parliament of Birds.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.