[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add new csetq macro

From: Stefan Kangas
Subject: Re: [PATCH] Add new csetq macro
Date: Sat, 3 Sep 2022 08:16:50 -0700

Lucien Cartier-Tilet <lucien@phundrak.com> writes:

> The csetq macro is a quality of life macro for Emacs users and wraps
> `custom-set-variable' in a `setq'-like macro, hence its name.
> It avoids repetition of `custom-set-variable' when setting the value
> of custom variables, while keeping the same syntax as `setq'.  I
> believe this could also help and encourage people to switch more
> easily to the correct way of setting the value of custom variables
> instead of using raw `setq's, since `setq' doesn't call the setter of
> a custom variable –if it exists– while `custom-set-variable' does.

Thanks.  How does it compare to the recently added `setopt' macro
though?  They look rather similar to me.  Am I missing something?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]