Revise my approach to org-ol-tree
This commit is contained in:
parent
f45ea8ed16
commit
cb1a053519
|
@ -5488,9 +5488,12 @@ recognising the pgtk window system]].
|
||||||
(use-package! org-ol-tree
|
(use-package! org-ol-tree
|
||||||
:commands org-ol-tree
|
:commands org-ol-tree
|
||||||
:config
|
:config
|
||||||
(defadvice! org-ol-tree-system--graphical-frame-p--pgtk ()
|
(setq org-ol-tree-ui-icon-set
|
||||||
:override #'org-ol-tree-system--graphical-frame-p
|
(if (and (display-graphic-p)
|
||||||
(memq window-system '(pgtk x w32 ns))))
|
(fboundp 'all-the-icons-material))
|
||||||
|
'all-the-icons
|
||||||
|
'unicode))
|
||||||
|
(org-ol-tree-ui--update-icon-set))
|
||||||
|
|
||||||
(map! :map org-mode-map
|
(map! :map org-mode-map
|
||||||
:after org
|
:after org
|
||||||
|
|
Loading…
Reference in New Issue