branch: externals/denote
commit 9fbac4941523ae7a6e0644512dcc4f75214ebe59
Author: Jean-Philippe Gagné Guay <[email protected]>
Commit: Jean-Philippe Gagné Guay <[email protected]>

    Remove "/" from denote-directory path in denote--subdirs-prompt
---
 denote.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote.el b/denote.el
index 260f91c5c7..de2c0099d0 100644
--- a/denote.el
+++ b/denote.el
@@ -813,7 +813,7 @@ The TITLE and KEYWORDS arguments are the same as with 
`denote'."
 
 (defun denote--subdirs-prompt ()
   "Handle user input on choice of subdirectory."
-  (let* ((root (denote-directory))
+  (let* ((root (directory-file-name (denote-directory)))
          (subdirs (denote--subdirs))
          (dirs (push root subdirs)))
     (denote--subdirs-completion-table dirs)))

Reply via email to