emacs-devel
[Top][All Lists]
Advanced

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

Re: Request for help: advice-lite


From: John Wiegley
Subject: Re: Request for help: advice-lite
Date: Thu, 28 Jun 2012 00:56:44 -0500
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1 (darwin)

>>>>> Stefan Monnier <address@hidden> writes:

> You can get the same behavior in 2 different ways:
> - (unwind-protect (progn (ad-enable-advice ...) ...) (ad-disable-advice ...))
> - Make your advice check `my-advice-condition' and then do
>   (let ((my-advice-condition 'enabled)) ....)

Still less elegant than `letf's correspondence to `let'.  My 2c.

John



reply via email to

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