[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: should fset 'symbol get an undefined function warning?
From: |
Drew Adams |
Subject: |
RE: should fset 'symbol get an undefined function warning? |
Date: |
Tue, 30 Oct 2007 15:39:58 -0700 |
> > `defalias' might be better to use in this context, but it
> > should still be good to not issue that warning for `fset'.
> > (I'm not saying anyone has disagreed with that.)
>
> I disagree: `fset' is meant to *change* the function-slot
> of a symbol, not to initialize it. So it's use shouldn't be treated by
> the byte-compiler as a declaration. Insted, the byute-compiler should
> complain about the use of `fset' on an unknown function similarly to the
> use of `set(q)' on an unknown variable.
Good point. I'm convinced.
Was there an opposing consideration that led you to say "Could be" at first,
or was that before this point occurred to you?
Re: should fset 'symbol get an undefined function warning?, Richard Stallman, 2007/10/30