From 7320911b5c895e62b0e10b32cfcd544dcda96042 Mon Sep 17 00:00:00 2001 From: Luc Teirlinck Date: Sun, 19 Sep 2004 01:11:35 +0000 Subject: [PATCH] *** empty log message *** --- etc/NEWS | 4 ++++ lisp/ChangeLog | 16 ++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/etc/NEWS b/etc/NEWS index 3e66ba4c5f6..c0dc82e7924 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -2242,6 +2242,10 @@ configuration files. * Lisp Changes in Emacs 21.4 +** Major mode functions now run the new normal hook +`after-change-major-mode-hook', at the end, just before the mode +dependent hooks. + +++ ** `auto-save-file-format' has been renamed to `buffer-auto-save-file-format' and made into a permanent local. diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8e86fdd3d19..34418fde798 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,19 @@ +2004-09-18 Luc Teirlinck + + * textmodes/enriched.el (enriched-rerun-flag): New variable. + (enriched-before-change-major-mode): New function. + Add it to `change-major-mode-hook'. + (enriched-after-change-major-mode): New function. + Add it to `after-change-major-mode-hook'. + (enriched-mode): Make it work correctly if called from + `after-change-major-mode-hook'. + No longer set `indent-line-function'. + + * simple.el (fundamental-mode): Run `after-change-major-mode-hook'. + + * subr.el (after-change-major-mode-hook): New variable. + (run-mode-hooks): Implement it. + 2004-09-18 Stefan Monnier * battery.el (battery-linux-proc-apm): Use string-to-number. -- 2.39.2