Greetings,
I was looking over your emacs init file and noticed you never use the
local macro `:option' for setting custom variables, but rather use
(setopt ...)
Is there a reason for this?
Zachary D'Anthony <zdm@disroot.org> writes:
> Greetings,
Hi,
> I was looking over your emacs init file and noticed you never use the
> local macro `:option' for setting custom variables, but rather use
>
> (setopt ...)
>
> Is there a reason for this?
I wrote :option before there was any setopt. I still keep it in setup,
because of backwards compatibility, but you might notice that in terms
of local macros, it has no context-sensitivity which is usually
something I want all bundled macros to provide. I wrote a
context-sensitive alternative[0], but don't trust it enough to add it to
the package.
As for setopt, it provides primitive type checking for user options,
which is useful most of the time.
[0] https://www.emacswiki.org/emacs/SetupEl#h5o-20
--
Philip Kaludercic on peregrine