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) (defun adwaita-dark-theme--neotree-insert-root (node)
"Insert root directory NODE at point." "Insert root directory NODE at point."
(insert (insert " "
(concat
" "
(propertize (propertize
"🖿" "🖿"
'face '(:inherit (neo-root-dir-face) :height 1.5)) 'face '(:inherit (neo-root-dir-face) :height 1.5))
(propertize (propertize
(concat " " (or (neo-path--file-short-name node) "-") " \n") (concat " " (or (neo-path--file-short-name node) "-") " \n")
'face '(:inherit (neo-root-dir-face) :height 1.0))))) 'face '(:inherit (neo-root-dir-face) :height 1.0))))
(defun adwaita-dark-theme--neotree-insert-dir (node depth expanded) (defun adwaita-dark-theme--neotree-insert-dir (node depth expanded)
"Insert directory NODE with indentation level DEPTH and state EXPANDED at point." "Insert directory NODE with indentation level DEPTH and state EXPANDED at point."