Davin Pearson <
davin....@gmail.com> writes:
> On Wednesday, June 29, 2016 at 2:22:01 AM UTC+12, Drew Adams wrote:
>> > > The old behavior is preferable so I know which file the advice
>> > > is coming from.
>> >
>> > Could someone tell me how to get the old behavior back?
>>
>>
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14734
>> ("REGRESSION: defadvice broken wrt doc strings (C-h f)")
>>
>>
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14070
>> ("incorrect doc from `C-h f' when use `defadvice' with `before'")
>>
>> This post by Stefan provides the rationale behind the new advice
>> system. (You might want to read the rest of the thread too.)
>>
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16402#31
>> ("Document nadvice.el stuff in Elisp manual before Emacs 24.4")
>
> I tried the following code but it doesn't work.
>
> (advice-add 'describe-mode
> :around
> #'(lambda () (delete-other-windows) ad-do-it)
> )
>