From: Okam <okamsn@protonmail.com>
To: help-gnu-emacs@gnu.org
Subject: Command `vc-annotate' runs `help-mode-hook'?
Date: Tue, 13 Oct 2020 01:10:27 +0000 [thread overview]
Message-ID: <fbff9e68-f4e5-9e56-bcdf-fb6273045022@protonmail.com> (raw)
Hello,
I was trying to add a function to `help-mode-hook' to automatically
rename the "*Help*" buffer. I found that the command that `vc-annotate'
was running this hook, and so breaking when the buffer was renamed
before the command completed.
Why does `vc-annotate' run `help-mode-hook', and is there a good way of
detecting this and similar cases?
Thank you,
Okam
next reply other threads:[~2020-10-13 1:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-13 1:10 Okam [this message]
2020-10-14 6:40 ` Command `vc-annotate' runs `help-mode-hook'? Michael Heerdegen
2020-10-16 21:06 ` Okam
2020-10-16 22:43 ` Stefan Monnier
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=fbff9e68-f4e5-9e56-bcdf-fb6273045022@protonmail.com \
--to=okamsn@protonmail.com \
--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).