[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
defalias and compiler warnings
From: |
Dave Love |
Subject: |
defalias and compiler warnings |
Date: |
Sun, 07 Nov 2004 14:42:57 +0000 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.2 (gnu/linux) |
The compiler only registers functions defined with defalias if the
form used is:
(defalias (quote ...) (quote ...))
E.g. using `foo' after something like
(defalias 'foo (if ...))
gets an undefined function warning, but not after
(defalias 'foo 'bar)
I can't see a good reason for that.
- defalias and compiler warnings,
Dave Love <=