[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Crappyness of Emacs Version 24.5.1 defadvice
From: |
Michael Heerdegen |
Subject: |
Re: Crappyness of Emacs Version 24.5.1 defadvice |
Date: |
Wed, 29 Jun 2016 03:55:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) |
Davin Pearson <davin.pearson@gmail.com> writes:
> I tried the following code but it doesn't work.
>
> (advice-add 'describe-mode
> :around
> #'(lambda () (delete-other-windows) ad-do-it)
> )
There is no `ad-do-it' pseudo variable/whatever in nadvice anymore. The
functions that are used as a piece of advice are simply called - and
how tells the doc of `add-function', or the manual.
> Worse still, it brings up the following message when I try C-h f
> describe-mode RET
>
> :around advice: No documentation
>
> Where do I add the documentation to the advice mechanism?
Document the function that "is" the advice.
Michael.
- Crappyness of Emacs Version 24.5.1 defadvice, Davin Pearson, 2016/06/27
- Re: Crappyness of Emacs Version 24.5.1 defadvice, Davin Pearson, 2016/06/28
- Message not available
- Re: Crappyness of Emacs Version 24.5.1 defadvice, Davin Pearson, 2016/06/29
- Re: Crappyness of Emacs Version 24.5.1 defadvice, Michael Heerdegen, 2016/06/30
- Message not available
- Re: Crappyness of Emacs Version 24.5.1 defadvice, Joost Kremers, 2016/06/30
- Re: Crappyness of Emacs Version 24.5.1 defadvice, Michael Heerdegen, 2016/06/30
- Re: Crappyness of Emacs Version 24.5.1 defadvice, RĂ©mi Vanicat, 2016/06/29
- Re: Crappyness of Emacs Version 24.5.1 defadvice, Michael Heerdegen, 2016/06/30