[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [External] : Re: [PATCH] Add new csetq macro
From: |
Drew Adams |
Subject: |
RE: [External] : Re: [PATCH] Add new csetq macro |
Date: |
Mon, 5 Sep 2022 16:35:52 +0000 |
> > My only issue with it is you still have to quote the
> > custom variable you want to set, unlike `setq'.
> > (setopt 'custom-var1 value1
> > 'custom-var2 value2)
>
> No, the setopt syntax is without quoting.
Then it's misnamed, IMO. The name should be
`setqopt' - or (better) `setq-option', or
similar.
Functions (and macros and special forms) that
set things and evaluate the first arg (the
thing to be set) use the prefix `set-', not
`set', in Emacs. [Generally, at least, and
there might be no (other) exceptions; dunno.]
Also:
https://lists.gnu.org/archive/html/emacs-devel/2022-02/msg00779.html