+2
-1
.config/emacs/init.el
+2
-1
.config/emacs/init.el
···
2
2
;;;;;;;;;;;
3
3
;; UTILS ;;
4
4
;;;;;;;;;;;
5
-
(defun conf-dir(path) (expand-file-name path user-emacs-directory))
5
+
(defun conf-dir(&optional path)
6
+
(expand-file-name (or path "") user-emacs-directory))
6
7
(defun temp-dir(path)
7
8
(let ((temp-dir (expand-file-name path temporary-file-directory)))
8
9
(unless (file-exists-p temp-dir)