]> git.eshelyaron.com Git - emacs.git/commitdiff
*** empty log message ***
authorLuc Teirlinck <teirllm@auburn.edu>
Sun, 19 Sep 2004 01:11:35 +0000 (01:11 +0000)
committerLuc Teirlinck <teirllm@auburn.edu>
Sun, 19 Sep 2004 01:11:35 +0000 (01:11 +0000)
etc/NEWS
lisp/ChangeLog

index 3e66ba4c5f632d6f77ce932ea97a0b2725a4e97b..c0dc82e7924dee709644568392c92a3144734d32 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2242,6 +2242,10 @@ configuration files.
 \f
 * 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.
index 8e86fdd3d195920c49cc847e6ac01c2a5120d289..34418fde79871dabf13e408ebdb959cd24a90b2f 100644 (file)
@@ -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.