bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#21695: 25.0.50; Change most occurrences of `setq' in Emacs manual to


From: Lars Ingebrigtsen
Subject: bug#21695: 25.0.50; Change most occurrences of `setq' in Emacs manual to `customize-set-variable'? Really?
Date: Mon, 13 Sep 2021 09:04:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Gregory Heytings <gregory@heytings.org> writes:

> +     if (!EQ (plist, Qnil) && !NILP (Fplist_get (plist, Qcustom_set)))
> +       safe_call2 (Qdisplay_warning, Qsetq,
> +                   CALLN (Fformat,
> +                          build_string
> +                          ("`%s' should be set with 
> `customize-set-variable'"),
> +                          sym));

I haven't tried the patch, but won't this be triggered by the code
that's handling the variables?  For instance, `latin1-display' has a
:set, but the file itself does `(setq latin1-display t)' etc.  (This is
a very common pattern.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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