Lute Kamstra wrote: You seem only to consider the problem that GLOBAL-MODE-buffers is not called. It can also be a problem when it is called too early.
I agree that if run-mode-hooks is used, it should be run at the very end. That was the convention even before `after-change-major-mode-hook' was introduced. Actually, confusion arose, because I was looking at the current code of org-mode, which does not run `after-change-major-mode-hook' at all. Sincerely, Luc. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel