unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Fundamental mode.
@ 2005-06-15  8:59 Lute Kamstra
  2005-06-15  9:19 ` Juanma Barranquero
  2005-06-16  4:07 ` Richard Stallman
  0 siblings, 2 replies; 6+ messages in thread
From: Lute Kamstra @ 2005-06-15  8:59 UTC (permalink / raw)


Modes derived from fundamental mode run after-change-major-mode-hook
twice because fundamental mode runs it unconditionally.  Fundamental
mode should only run after-change-major-mode-hook if delay-mode-hooks
is nil.  We can either test this directly or use (run-mode-hooks
'fundamental-mode-hook).  The latter also introduces
fundamental-mode-hook, of course.  I see no problem with that, but I'm
a bit surprised it hasn't been done already.  (So I suspect there is
some reason for not running fundamental-mode-hook.)

What do others think is best?

Lute.

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

end of thread, other threads:[~2005-06-19  0:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-15  8:59 Fundamental mode Lute Kamstra
2005-06-15  9:19 ` Juanma Barranquero
2005-06-16  4:07 ` Richard Stallman
2005-06-16 12:41   ` Lute Kamstra
2005-06-18 15:04   ` Johan Bockgård
2005-06-19  0:49     ` Lute Kamstra

Code repositories for project(s) associated with this public inbox

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

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).