[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: |
Richard Stallman |
Subject: |
Re: should fset 'symbol get an undefined function warning? |
Date: |
Tue, 30 Oct 2007 20:09:06 -0400 |
The warning "the function `my-fset-test' is not known to be defined"
is generated when compiling:
(fset 'my-fset-test 'foo)
(my-fset-test)
If you use `fset' it means that you are playing around with the
symbol's definition. So it seems like a mistake to assume anything
about it. Normally the first arg of `fset' is not a quoted constant
anyway.
If you want to make an alias that the compiler will know about, use
`defalias'.
Re: should fset 'symbol get an undefined function warning?,
Richard Stallman <=