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

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

Re: Command `vc-annotate' runs `help-mode-hook'?


From: Stefan Monnier
Subject: Re: Command `vc-annotate' runs `help-mode-hook'?
Date: Fri, 16 Oct 2020 18:43:13 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> I found a package that renamed Help buffers to include the name of the 
> variable/function being shown,

Then your hook function needs to check first whether the current buffer
shows the description of a function, of a variable, or of something else
(a face, ...).

> but saw that this broke `vc-annotate' 

That's only if it doesn't notice that the buffer used by vc-annotate
doesn't show the description of a function or of a variable.


        Stefan




reply via email to

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