emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

changing function slots should update compiler properties


From: Dave Love
Subject: changing function slots should update compiler properties
Date: Tue, 09 Nov 2004 17:24:20 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.2 (gnu/linux)

Functions which update symbols' function slots should remove compiler
properties first.  E.g., if you redefine something with `defun' that
previously was defined with `defsubst', it currently maintains the
`byte-compile-inline-expand' property.

Also I think that `defalias' should copy compiler properties where
appropriate.  E.g. after `(defalias 'plus '+)', I think calls of
`plus' should compile like calls of `+'.  I'm not completely sure it's
safe, though.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]