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

    Refactor denote--default-directory-is-silo-p
---
 denote.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/denote.el b/denote.el
index 460ad61370..f2de7c72e8 100644
--- a/denote.el
+++ b/denote.el
@@ -593,8 +593,7 @@ things accordingly.")
      ((listp dir-locals)
       (car dir-locals))
      ((stringp dir-locals)
-      dir-locals)
-     (t nil))))
+      dir-locals))))
 
 (defun denote--make-denote-directory ()
   "Make the variable `denote-directory' and its parents, if needed."

Reply via email to