diff --git a/mode-icons.el b/mode-icons.el index 87a3860..340fae3 100644 --- a/mode-icons.el +++ b/mode-icons.el @@ -85,7 +85,7 @@ ICON should be a file name with extension. The result is the absolute path to ICON." - (concat mode-icons--directory "/icons/" icon)) + (expand-file-name icon (expand-file-name "icons" mode-icons--directory))) (defmacro mode-icons-save-buffer-state (&rest body) "Eval BODY saving buffer state.