changeset 7919:5823cf320f61

(outline-mode): Make change-major-mode-hook buffer-local.
author Richard M. Stallman <rms@gnu.org>
date Wed, 15 Jun 1994 23:03:28 +0000
parents 4561618ebf64
children 30a1f0809d2a
files lisp/textmodes/ooutline.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/ooutline.el	Wed Jun 15 22:39:01 1994 +0000
+++ b/lisp/textmodes/ooutline.el	Wed Jun 15 23:03:28 1994 +0000
@@ -179,6 +179,7 @@
   (make-local-variable 'paragraph-separate)
   (setq paragraph-separate (concat paragraph-separate "\\|^\\("
 				   outline-regexp "\\)"))
+  (make-local-variable 'change-major-mode-hook)
   (add-hook 'change-major-mode-hook 'show-all)
   (run-hooks 'text-mode-hook 'outline-mode-hook))