From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Command `vc-annotate' runs `help-mode-hook'?
Date: Fri, 16 Oct 2020 18:43:13 -0400 [thread overview]
Message-ID: <jwvr1pxrdxt.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: 1ab7d3c0-a11e-f464-2a37-c2b9460c3d38@protonmail.com
> 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
prev parent reply other threads:[~2020-10-16 22:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-13 1:10 Command `vc-annotate' runs `help-mode-hook'? Okam
2020-10-14 6:40 ` Michael Heerdegen
2020-10-16 21:06 ` Okam
2020-10-16 22:43 ` Stefan Monnier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvr1pxrdxt.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).