branch: externals/denote
commit 245fc991063c08257f7afd5584139b95bb80ff5e
Merge: 4f24f1dc43 9fbac49415
Author: Protesilaos Stavrou <[email protected]>
Commit: GitHub <[email protected]>

    Merge pull request #35 from ggjp/fix-denote-subdirs-prompt
    
    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