help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Redefining functions and variables


From: Andreas Politz
Subject: Re: Redefining functions and variables
Date: Wed, 08 Dec 2010 15:21:46 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> (defmacro defun (name args &rest body)
>
> Just as is the case for `defun', redefining macros with `defmacro'
> is problematic.  I really recommend not to do that and use defadvice
> instead, which was designed specifically for this purpose.
>
>
>         Stefan

Last time I tried to advice `defun', it gave me a `invalid function'
error or some such.

-ap


reply via email to

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