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

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

[elpa] externals/denote 812da918f7 042/355: Insert comment about not edi


From: ELPA Syncer
Subject: [elpa] externals/denote 812da918f7 042/355: Insert comment about not editing backlinks
Date: Sun, 26 Jun 2022 23:57:58 -0400 (EDT)

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

    Insert comment about not editing backlinks
---
 denote-link.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/denote-link.el b/denote-link.el
index ad0ae0639f..c0875cf463 100644
--- a/denote-link.el
+++ b/denote-link.el
@@ -117,7 +117,8 @@ This heading is appended to a file when another links to 
it.")
       (unless (save-excursion (setq heading-point (re-search-backward heading 
nil t)))
         (unless (denote--line-regexp-p 'empty 0)
           (newline))
-        (insert (format "* %s\n\n" heading)))
+        (insert
+         (format "* %s\n%s\n\n" heading "# Do not edit; this is for denote.el 
and related")))
       (insert (format "- %s\n" origin-link))
       ;; delete duplicate links
       (unwind-protect



reply via email to

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