emacs-devel
[Top][All Lists]
Advanced

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

Re: ad-remove-advice bug.


From: Johan Bockgård
Subject: Re: ad-remove-advice bug.
Date: Thu, 08 Mar 2007 01:07:14 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux)

address@hidden (Michaël Cadilhac) writes:

> Now, use M-x ad-remove-advice RET RET RET RET (the default each time)
> There's two annoying things :
> 1. M-x describe-function RET forward-line RET says :
> | This subr is advised.
> `--------------------------
>
> although there's no more advice,

Here's what the commentary in advice.el says:

  ;; - ad-unadvise deactivates a FUNCTION and removes all of its advice
  ;;               information, hence, it cannot be activated again

  [...]

  ;; - ad-remove-advice removes a particular piece of advice of a FUNCTION.
  ;;               You still have to do call `ad-activate' or `ad-update' to
  ;;               activate the new state of advice.

-- 
Johan Bockgård





reply via email to

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