diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index 06be04a..49d403b 100644 --- a/oni-org/oni-org.el +++ b/oni-org/oni-org.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2021.0106.000520 +;; Version: 2021.0106.201747 ;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org-plus-contrib org-bullets org-edna diminish all-the-icons org-journal org-roam) ;; This program is free software; you can redistribute it and/or modify @@ -310,7 +310,8 @@ also move point to the start of the heading." (defun oni-org-initialize-agenda-category-icons () "Set ‘org-agenda-category-icon-alist’ if it hasn’t already been set." - (when (null org-agenda-category-icon-alist) + (when (and (display-graphic-p) + (null org-agenda-category-icon-alist)) (oni-org-set-agenda-category-icons))) (defun oni-org-set-agenda-category-icons ()