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

    Make denote-directories return a list when silo is set to obsolete 
'default-directory' or `local'
    
    We will keep warning users about those values, but we still want them
    to work.
---
 denote.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote.el b/denote.el
index c9bab78cd7..f02b05a3fa 100644
--- a/denote.el
+++ b/denote.el
@@ -999,7 +999,7 @@ to override what this function returns."
          'denote
          "Silo value must be a string; `local' or `default-directory' are 
obsolete"
          :error)
-        silo-dir)
+        (list silo-dir))
     (let ((denote-directories (denote-directories--get-paths)))
       (denote-directories--make-paths denote-directories)
       denote-directories)))

Reply via email to