Remove unnecessary concat call

This commit is contained in:
Jessie Hildebrandt 2022-12-19 19:23:25 -05:00
parent 2e3f36638b
commit 80bb330533

View File

@ -807,15 +807,13 @@
(defun adwaita-dark-theme--neotree-insert-root (node)
"Insert root directory NODE at point."
(insert
(concat
" "
(propertize
"🖿"
'face '(:inherit (neo-root-dir-face) :height 1.5))
(propertize
(concat " " (or (neo-path--file-short-name node) "-") " \n")
'face '(:inherit (neo-root-dir-face) :height 1.0)))))
(insert " "
(propertize
"🖿"
'face '(:inherit (neo-root-dir-face) :height 1.5))
(propertize
(concat " " (or (neo-path--file-short-name node) "-") " \n")
'face '(:inherit (neo-root-dir-face) :height 1.0))))
(defun adwaita-dark-theme--neotree-insert-dir (node depth expanded)
"Insert directory NODE with indentation level DEPTH and state EXPANDED at point."