Subject: Re: bug#20241: 25.0.50; `setq' with only one argument
From: Alan Mackenzie <[email-masked]>
To: [email-masked]
Cc: Drew Adams <[email-masked]>
Date: 23 Nov 2015 14:31:12 -0000
List-Id: <debbugs-submit.debbugs.gnu.org>

In article <[email-masked]> you wrote:
> See for example: `(setq mark-active)' in `compilation-goto-locus'
> (compile.el).

> setq' should not be called with only one argument.  It "works", with the
> effect of assigning a value of nil, but it is poor form.  Typically this
> is a sign of a typo.

Fixed in emacs-25.  The interpreter now signals a wrong-number-of-args
error, and the byte compiler issues a warning.

-- 
Alan Mackenzie (Nuremberg, Germany).