branch: externals/denote
commit 9305befdb912ef623b37222984c29f268e01dc8d
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Comment out needless error in denote--file-with-temp-buffer-subr
---
 denote.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/denote.el b/denote.el
index cb6b542e28..0205b34869 100644
--- a/denote.el
+++ b/denote.el
@@ -1406,8 +1406,9 @@ Subroutine of `denote--file-with-temp-buffer'."
       (cons #'insert-file-contents file))
      (buffer
       (cons #'insert-buffer buffer))
-     (t
-      (error "Cannot find anything about file `%s'" file)))))
+     ;; (t
+     ;;  (error "Cannot find anything about file `%s'" file))
+     )))
 
 (defmacro denote--file-with-temp-buffer (file &rest body)
   "If FILE exists, insert its contents in a temp buffer and call BODY."

Reply via email to