diff options
author | Case Duckworth | 2022-01-01 19:25:49 -0600 |
---|---|---|
committer | Case Duckworth | 2022-01-01 19:25:49 -0600 |
commit | 5a35301930c6015a7af76db93d7e1e8618d0ab3f (patch) | |
tree | aeaf50b783051554fcd165df3d7641fcbf7824ec | |
parent | Fork mode-line-bell (diff) | |
download | emacs-5a35301930c6015a7af76db93d7e1e8618d0ab3f.tar.gz emacs-5a35301930c6015a7af76db93d7e1e8618d0ab3f.zip |
Add org-visibility
-rw-r--r-- | init.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/init.el b/init.el index e57f321..de32105 100644 --- a/init.el +++ b/init.el | |||
@@ -932,6 +932,10 @@ See also `crux-reopen-as-root-mode'." | |||
932 | (setup (:straight org-sticky-header) | 932 | (setup (:straight org-sticky-header) |
933 | (:hook-into org-mode)) | 933 | (:hook-into org-mode)) |
934 | 934 | ||
935 | (setup (:straight org-visibility) | ||
936 | (:option org-visibility-include-regexps '("\\.org\\'")) | ||
937 | (org-visibility-enable-hooks)) | ||
938 | |||
935 | (setup (:straight package-lint | 939 | (setup (:straight package-lint |
936 | package-lint-flymake) | 940 | package-lint-flymake) |
937 | (add-hook 'emacs-mode-hook #'package-lint-flymake-setup) | 941 | (add-hook 'emacs-mode-hook #'package-lint-flymake-setup) |