Re: Using the :set to make an alist

[email protected]
Newsgroups gmane.emacs.help
Message-ID <[email protected]>
Heime <[email protected]> writes:

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

There is an option for that described in the Emacs Lisp
reference manual:

   (info "(elisp) Variable Definitions")

> But unsure how ta apply a binding for  (assoc-default 'GLXKS orellana-fpln)
> to be used as a base directory.
>  

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