Category Archives: org

Emacs: Strike through headlines for DONE tasks in Org

I wanted a quick way to visually distinguish DONE tasks from tasks I still need to do. This handy snippet from the Emacs Org-mode mailing list does the trick by striking through the headlines for DONE tasks.


Here’s the code:

(setq org-fontify-done-headline t)
 '(org-done ((t (:foreground "PaleGreen"   
                 :weight normal
                 :strike-through t))))
            ((((class color) (min-colors 16) (background dark)) 
               (:foreground "LightSalmon" :strike-through t)))))

View my Emacs configuration