diff --git a/emacs.el b/emacs.el index e2c9a0c..4f72b7c 100644 --- a/emacs.el +++ b/emacs.el @@ -1123,6 +1123,8 @@ found, otherwise returns nil." (lambda () (when (string-match "\\.md\\'" buffer-file-name) (set (make-local-variable 'outline-regexp) "#+ ")))) +(add-hook 'outline-mode-hook + 'outline-show-all) (add-to-list 'auto-mode-alist (cons "\\.ol\\'" 'outline-mode)) (add-to-list 'auto-mode-alist (cons "\\.md\\'" 'outline-mode))