]> git.eshelyaron.com Git - emacs.git/commitdiff
(outline-mode): Make change-major-mode-hook buffer-local.
authorRichard M. Stallman <rms@gnu.org>
Wed, 15 Jun 1994 23:03:28 +0000 (23:03 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 15 Jun 1994 23:03:28 +0000 (23:03 +0000)
lisp/textmodes/ooutline.el

index 88271165366fd2bc504ade5b26d04c5bf66a1925..0c60cfe30bda54921dfa467d67f4700ee5c6aa2f 100644 (file)
@@ -179,6 +179,7 @@ Turning on outline mode calls the value of `text-mode-hook' and then of
   (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))