branch: externals/denote-silo
commit ee5892835fdbced56bd03d1f674c89103a4db334
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Pass missing DEFAULT argument to denote-silo-directory-prompt
    
    Thanks to Daniel Kahlenberg for reporting an issue that led me to
    investigate this: <https://github.com/protesilaos/denote/issues/611>.
---
 README.org     | 2 ++
 denote-silo.el | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/README.org b/README.org
index 3b5eac92cf..e91998c24e 100644
--- a/README.org
+++ b/README.org
@@ -265,6 +265,8 @@ Denote Silo is meant to be a collective effort.  Every bit 
of help matters.
 
 + Author/maintainer :: Protesilaos Stavrou.
 
++ Ideas and/or user feedback :: Daniel Kahlenberg.
+
 * GNU Free Documentation License
 :PROPERTIES:
 :APPENDIX: t
diff --git a/denote-silo.el b/denote-silo.el
index d316d1470b..a8d5b4685e 100644
--- a/denote-silo.el
+++ b/denote-silo.el
@@ -71,7 +71,7 @@ as the variable `denote-directory'."
     (completing-read
      (format-prompt "Select a silo" default)
      (denote--completion-table 'file denote-silo-directories)
-     nil :require-match nil 'denote-silo-directory-history)))
+     nil :require-match nil 'denote-silo-directory-history default)))
 
 (defun denote-silo-path-is-silo-p (path)
   "Return non-nil if PATH is among `denote-silo-directories'."

Reply via email to