Insert comment about not editing backlinks

This commit is contained in:
Protesilaos Stavrou 2022-06-07 07:57:37 +03:00
parent f4f1fa3c48
commit 812da918f7
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -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