mirror of
https://github.com/protesilaos/denote.git
synced 2026-09-10 07:16:20 -04:00
Expand file name of denote-directory
This commit is contained in:
parent
b6363b4b9c
commit
ddcd44a031
|
|
@ -274,7 +274,7 @@ We consider those characters illigal for our purposes.")
|
|||
(path (if (or (eq val 'default-directory) (eq val 'local)) default-directory val)))
|
||||
(unless (file-directory-p path)
|
||||
(make-directory path t))
|
||||
(file-name-as-directory path)))
|
||||
(file-name-as-directory (expand-file-name path))))
|
||||
|
||||
(defun denote--slug-no-punct (str)
|
||||
"Convert STR to a file name slug."
|
||||
|
|
|
|||
Loading…
Reference in a new issue