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

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

Re: help-mode-finish obsolete?


From: Emanuel Berg
Subject: Re: help-mode-finish obsolete?
Date: Mon, 30 May 2022 01:41:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Daniel Martín wrote:

>> This function is obsolete since 29.1.
>>
>> So how do you do this then?
>>
>> (defun help-mode-finish-after ()
>>   (forward-button 1) )
>> (advice-add #'help-mode-finish :after #'help-mode-finish-after)
>>
>> https://dataswamp.org/~incal/emacs-init/help-incal.el
>
> I see that the deprecated functions help-mode-setup and
> help-mode-finish are still called from
> with-output-to-temp-buffer, which is not updated yet.
> I'd report that as a bug, suggesting that the deprecation
> message should also explain what's the preferred API to use.

Maybe they will be merged with `help-mode' so the answer is do
the same but advice that instead?

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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