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

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

[elpa] externals/denote 31e7364c56 5/9: Update denote-rename-file-using-


From: ELPA Syncer
Subject: [elpa] externals/denote 31e7364c56 5/9: Update denote-rename-file-using-front-matter doc
Date: Fri, 5 Aug 2022 06:57:36 -0400 (EDT)

branch: externals/denote
commit 31e7364c5645d05f87d40e6b4c13b86e34e30620
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Update denote-rename-file-using-front-matter doc
---
 denote.el | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/denote.el b/denote.el
index adb3489475..124878fa39 100644
--- a/denote.el
+++ b/denote.el
@@ -1373,7 +1373,13 @@ The operation does the following:
 ;;;###autoload
 (defun denote-rename-file-using-front-matter (file)
   "Rename current FILE using its front matter as input.
-The identifier of the file (if any) is never modified."
+Ask for confirmation, showing the difference between the old and
+the new file names.
+
+The identifier of the file, if any, is never modified even if it
+is edited in the front matter: Denote consider the file name to
+be the source of truth in this case, to avoid potential breakage
+with typos and the like."
   (interactive (list (buffer-file-name)))
   (when (buffer-modified-p)
     (user-error "Save buffer before proceeding"))



reply via email to

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