emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/denote ddcd44a031 2/5: Expand file name of denote-direc


From: ELPA Syncer
Subject: [elpa] externals/denote ddcd44a031 2/5: Expand file name of denote-directory
Date: Sun, 10 Jul 2022 23:57:28 -0400 (EDT)

branch: externals/denote
commit ddcd44a0316b6bd2ef9a90daedd7b258fe6a02ac
Author: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Commit: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>

    Expand file name of denote-directory
---
 denote.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote.el b/denote.el
index f98dd7edbc..9adfb6b8d6 100644
--- a/denote.el
+++ b/denote.el
@@ -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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]