diff options
| -rw-r--r-- | lisp/textmodes/ooutline.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/textmodes/ooutline.el b/lisp/textmodes/ooutline.el index 4f891e125eb..c3f05af00bb 100644 --- a/lisp/textmodes/ooutline.el +++ b/lisp/textmodes/ooutline.el | |||
| @@ -101,8 +101,9 @@ in the file it applies to.") | |||
| 101 | "Non-nil if using Outline mode as a minor mode of some other mode.") | 101 | "Non-nil if using Outline mode as a minor mode of some other mode.") |
| 102 | (make-variable-buffer-local 'outline-minor-mode) | 102 | (make-variable-buffer-local 'outline-minor-mode) |
| 103 | (put 'outline-minor-mode 'permanent-local t) | 103 | (put 'outline-minor-mode 'permanent-local t) |
| 104 | (setq minor-mode-alist (append minor-mode-alist | 104 | (or (assq 'outline-minor-mode minor-mode-alist) |
| 105 | (list '(outline-minor-mode " Outl")))) | 105 | (setq minor-mode-alist (append minor-mode-alist |
| 106 | (list '(outline-minor-mode " Outl"))))) | ||
| 106 | 107 | ||
| 107 | ;;;###autoload | 108 | ;;;###autoload |
| 108 | (defun outline-mode () | 109 | (defun outline-mode () |