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

    Make denote-rename-buffer-mode work with buffers, not just files
---
 denote-rename-buffer.el | 1 -
 1 file changed, 1 deletion(-)

diff --git a/denote-rename-buffer.el b/denote-rename-buffer.el
index 7b911437b7..76011e45b7 100644
--- a/denote-rename-buffer.el
+++ b/denote-rename-buffer.el
@@ -58,7 +58,6 @@ value) for a reference implementation."
   "Determine if BUFFER shall be renamed.
 Return the file path and the type of it as a cons cell."
   (when-let* ((file (buffer-file-name buffer))
-              ((file-exists-p file))
               ((denote-file-has-identifier-p file))
               (type (denote-filetype-heuristics file)))
     (cons file type)))

Reply via email to