[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "(setq name)": Is this a bug?
From: |
Stefan Monnier |
Subject: |
Re: "(setq name)": Is this a bug? |
Date: |
Tue, 14 Jul 2009 14:49:25 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) |
> Hi, Emacs,
> In .../lisp/files.el, function set-auto-mode, L2553, appears the strange
> invocation:
> (setq name)
> . One of my analysis tools tripped up on it. According to setq's doc
> string, this is invalid. In each [SYM VAL] in (setq [SYM VAL] ...), the
> VAL is not optional. Surely?
> I think this is a bug.
It's accepted bny the interpreter and the compiler, AFAIK, but I do
consider it as a bug, so please fix it to (setq name nil).
Stefan