diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-06-15 23:03:28 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-06-15 23:03:28 +0000 |
commit | a46b893b1224c20931249a53266fedf94b04b0c3 (patch) | |
tree | 741a6565d2143dda7b8b0b298d5bad56f6a73a59 | |
parent | acf310c90d3d625c1f1e6855f4171f6609be04ea (diff) | |
download | emacs-a46b893b1224c20931249a53266fedf94b04b0c3.tar.gz emacs-a46b893b1224c20931249a53266fedf94b04b0c3.tar.bz2 emacs-a46b893b1224c20931249a53266fedf94b04b0c3.zip |
(outline-mode): Make change-major-mode-hook buffer-local.
-rw-r--r-- | lisp/textmodes/ooutline.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/textmodes/ooutline.el b/lisp/textmodes/ooutline.el index 88271165366..0c60cfe30bd 100644 --- a/lisp/textmodes/ooutline.el +++ b/lisp/textmodes/ooutline.el @@ -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)) |