lang/org: fontify checked-checkbox items with org-headline-done
This commit is contained in:
parent
77e293fee9
commit
1946c3d8a2
1 changed files with 12 additions and 6 deletions
|
@ -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 ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue