Subject: Re: bug#21695: 25.0.50; Change most occurrences of `setq' in Emacs manual to `customize-set-variable'? Really?

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 13 Sep 2021 09:04:10 +0200

Gregory Heytings <[email-masked]> 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