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

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

[elpa] externals/denote 0792229eed 3/9: Fix issue in denote-rewrite-fron


From: ELPA Syncer
Subject: [elpa] externals/denote 0792229eed 3/9: Fix issue in denote-rewrite-front-matter with lines that are unchanged
Date: Tue, 26 Nov 2024 06:57:51 -0500 (EST)

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

    Fix issue in denote-rewrite-front-matter with lines that are unchanged
---
 denote.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/denote.el b/denote.el
index 9e2d406735..8843d04655 100644
--- a/denote.el
+++ b/denote.el
@@ -3256,6 +3256,8 @@ prompt to confirm the rewriting of the front matter."
                            (goto-char (line-beginning-position))
                            (insert new-line)
                            (delete-region (point) (line-end-position))
+                           (goto-char (line-beginning-position 2)))
+                          (t
                            (goto-char (line-beginning-position 2))))))))))))))
 
 ;;;;; The renaming commands and their prompts



reply via email to

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