emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/denote adf4e9f7d1 2/6: Fix issue on note creation cause


From: ELPA Syncer
Subject: [elpa] externals/denote adf4e9f7d1 2/6: Fix issue on note creation caused by commit bce7778
Date: Sat, 18 May 2024 03:57:44 -0400 (EDT)

branch: externals/denote
commit adf4e9f7d19280272230a5d70d446f4a54f8ba55
Author: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Commit: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>

    Fix issue on note creation caused by commit bce7778
---
 denote.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/denote.el b/denote.el
index eb4e5089a4..ae06801c8a 100644
--- a/denote.el
+++ b/denote.el
@@ -1922,8 +1922,8 @@ TEMPLATE, and SIGNATURE should be valid for note 
creation."
                   title (denote--date date file-type) keywords
                   id
                   file-type)))
-    (when (file-regular-p buffer)
-      (user-error "A file named `%s' already exists" buffer))
+    (when (file-regular-p path)
+      (user-error "A file named `%s' already exists" path))
     (with-current-buffer buffer
       (insert header)
       (insert template))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]