all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.