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

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

Re: reading compile.el, modifying settings


From: Tassilo Horn
Subject: Re: reading compile.el, modifying settings
Date: Thu, 05 May 2011 20:15:29 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

Sam Steingold <sds@gnu.org> writes:

Hi Sam,

>>     (setq compilation-error-regexp-alist ... )
>
> compilation-error-regexp-alist is defined with defcustom, so it should
> be modified with custom-set-variables, not with setq.  Don't ask.

No, that's not true.  You can setq any defcustom as if it was a defvar.
The former is only some macro that eventually expands to a defvar, but
contains some more metadata for the customize interface.

Bye,
Tassilo




reply via email to

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