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)
|
||||
(setq line-spacing 1)
|
||||
|
||||
;; If saveplace places the point in a folded position, unfold it on load
|
||||
(when (outline-invisible-p)
|
||||
(ignore-errors
|
||||
(save-excursion
|
||||
(outline-previous-visible-heading 1)
|
||||
(org-show-subtree))))
|
||||
(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
|
||||
(when (outline-invisible-p)
|
||||
(ignore-errors
|
||||
(save-excursion
|
||||
(outline-previous-visible-heading 1)
|
||||
(org-show-subtree)))))
|
||||
|
||||
;; auto-align tables
|
||||
(defun +org|realign-table-maybe ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue