unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Command `vc-annotate' runs `help-mode-hook'?
@ 2020-10-13  1:10 Okam
  2020-10-14  6:40 ` Michael Heerdegen
  0 siblings, 1 reply; 4+ messages in thread
From: Okam @ 2020-10-13  1:10 UTC (permalink / raw)
  To: help-gnu-emacs

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-10-16 22:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).