ui/doom-modeline: memoize +doom-ml-icon
This commit is contained in:
parent
e7720e4aae
commit
dc3687920a
1 changed files with 2 additions and 2 deletions
|
@ -349,7 +349,7 @@ directory, the file name, and its state (modified, read-only or non-existent)."
|
||||||
" "
|
" "
|
||||||
+doom-modeline-vspc))))
|
+doom-modeline-vspc))))
|
||||||
|
|
||||||
(defun +doom-ml-icon (icon &optional text face)
|
(def-memoized! +doom-ml-icon (icon &optional text face)
|
||||||
"Displays an octicon ICON with FACE, followed by TEXT. Uses
|
"Displays an octicon ICON with FACE, followed by TEXT. Uses
|
||||||
`all-the-icons-octicon' to fetch the icon."
|
`all-the-icons-octicon' to fetch the icon."
|
||||||
(concat
|
(concat
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue