diff options
| author | Simon Marshall | 1994-10-12 09:00:56 +0000 |
|---|---|---|
| committer | Simon Marshall | 1994-10-12 09:00:56 +0000 |
| commit | d31e6eafc224e0aa979cf55843296093b87674d4 (patch) | |
| tree | 4475683017d6dbdd1cf565352dbdecb64df55b58 | |
| parent | af4b1991f9ea137562c242322baf0d51466217a1 (diff) | |
| download | emacs-d31e6eafc224e0aa979cf55843296093b87674d4.tar.gz emacs-d31e6eafc224e0aa979cf55843296093b87674d4.zip | |
* outline.el: (outline-mode): Set font-lock-defaults.
| -rw-r--r-- | lisp/textmodes/ooutline.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/ooutline.el b/lisp/textmodes/ooutline.el index 5d337ddd37f..65f75d655eb 100644 --- a/lisp/textmodes/ooutline.el +++ b/lisp/textmodes/ooutline.el | |||
| @@ -206,8 +206,8 @@ Turning on outline mode calls the value of `text-mode-hook' and then of | |||
| 206 | (make-local-variable 'paragraph-separate) | 206 | (make-local-variable 'paragraph-separate) |
| 207 | (setq paragraph-separate (concat paragraph-separate "\\|^\\(" | 207 | (setq paragraph-separate (concat paragraph-separate "\\|^\\(" |
| 208 | outline-regexp "\\)")) | 208 | outline-regexp "\\)")) |
| 209 | (make-local-variable 'font-lock-keywords) | 209 | (make-local-variable 'font-lock-defaults) |
| 210 | (setq font-lock-keywords outline-font-lock-keywords) | 210 | (setq font-lock-defaults '(outline-font-lock-keywords t)) |
| 211 | (make-local-variable 'change-major-mode-hook) | 211 | (make-local-variable 'change-major-mode-hook) |
| 212 | (add-hook 'change-major-mode-hook 'show-all) | 212 | (add-hook 'change-major-mode-hook 'show-all) |
| 213 | (run-hooks 'text-mode-hook 'outline-mode-hook)) | 213 | (run-hooks 'text-mode-hook 'outline-mode-hook)) |