summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/NEWS4
-rw-r--r--lisp/ChangeLog16
2 files changed, 20 insertions, 0 deletions
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 <teirllm@auburn.edu>
+
+ * 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 <monnier@iro.umontreal.ca>
* battery.el (battery-linux-proc-apm): Use string-to-number.