From 80bb33053347a8f51299e76fcb8bacbbce42f4c9 Mon Sep 17 00:00:00 2001 From: Jessie Hildebrandt Date: Mon, 19 Dec 2022 19:23:25 -0500 Subject: [PATCH] Remove unnecessary concat call --- adwaita-dark-theme.el | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/adwaita-dark-theme.el b/adwaita-dark-theme.el index a385f35..a62eeb1 100644 --- a/adwaita-dark-theme.el +++ b/adwaita-dark-theme.el @@ -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."