lang/org: fontify checked-checkbox items with org-headline-done

This commit is contained in:
Henrik Lissner 2017-04-27 14:24:20 -04:00
parent 77e293fee9
commit 1946c3d8a2

View file

@ -49,12 +49,18 @@
(visual-line-mode +1) (visual-line-mode +1)
(setq line-spacing 1) (setq line-spacing 1)
(unless org-agenda-inhibit-startup
;; My version of the 'overview' #+STARTUP option: expand first-level
;; headings.
(when (eq org-startup-folded t)
(outline-hide-sublevels 2))
;; If saveplace places the point in a folded position, unfold it on load ;; If saveplace places the point in a folded position, unfold it on load
(when (outline-invisible-p) (when (outline-invisible-p)
(ignore-errors (ignore-errors
(save-excursion (save-excursion
(outline-previous-visible-heading 1) (outline-previous-visible-heading 1)
(org-show-subtree)))) (org-show-subtree)))))
;; auto-align tables ;; auto-align tables
(defun +org|realign-table-maybe () (defun +org|realign-table-maybe ()