Configuration files

emacs: simplify path expansion

Changed files
+2 -2
.config
emacs
+2 -2
.config/emacs/init.el
··· 2 2 ;;;;;;;;;;; 3 3 ;; UTILS ;; 4 4 ;;;;;;;;;;; 5 - (defun conf-dir(path) (concat (expand-file-name user-emacs-directory) path)) 5 + (defun conf-dir(path) (expand-file-name path user-emacs-directory)) 6 6 (defun temp-dir(path) 7 - (let ((temp-dir (concat (expand-file-name temporary-file-directory) path))) 7 + (let ((temp-dir (expand-file-name path temporary-file-directory))) 8 8 (unless (file-exists-p temp-dir) 9 9 (make-directory temp-dir)) 10 10 temp-dir))