mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/org: fontify checked-checkbox items with org-headline-done
This commit is contained in:
@ -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 ()
|
||||||
|
Reference in New Issue
Block a user