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

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

[elpa] externals/denote c5bba5fef1 5/7: Fix denote with subdirectories


From: ELPA Syncer
Subject: [elpa] externals/denote c5bba5fef1 5/7: Fix denote with subdirectories
Date: Mon, 18 Jul 2022 01:57:40 -0400 (EDT)

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

    Fix denote with subdirectories
---
 denote.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote.el b/denote.el
index 864f6d2a96..b46512d267 100644
--- a/denote.el
+++ b/denote.el
@@ -763,7 +763,7 @@ When called from Lisp, all arguments are optional.
                  (denote--valid-date date)))
          (id (format-time-string denote--id-format date))
          (directory (if (denote--dir-in-denote-directory-p subdirectory)
-                        (file-name-nondirectory subdirectory)
+                        (file-name-as-directory subdirectory)
                       (denote-directory))))
     (denote--barf-duplicate-id id)
     (denote--prepare-note (or title "") keywords date id directory file-type)



reply via email to

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