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

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

[elpa] externals/denote 2d3a6fd8f3 327/355: Reword comment about multi-l


From: ELPA Syncer
Subject: [elpa] externals/denote 2d3a6fd8f3 327/355: Reword comment about multi-line button recognition
Date: Sun, 26 Jun 2022 23:58:36 -0400 (EDT)

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

    Reword comment about multi-line button recognition
---
 denote-link.el | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/denote-link.el b/denote-link.el
index 7836b3d986..3173e8cb3a 100644
--- a/denote-link.el
+++ b/denote-link.el
@@ -314,13 +314,14 @@ format is always [[denote:IDENTIFIER]]."
   (when (or (thing-at-point-looking-at denote-link--regexp-plain)
             (thing-at-point-looking-at denote-link--regexp-markdown)
             (thing-at-point-looking-at denote-link--regexp-org)
-            ;; REVIEW 2022-06-19: This is crude.  It is meant to handles
-            ;; the case where a link is broken by `fill-paragraph' into
-            ;; two lines, in which case it buttonizes only the
-            ;; "denote:ID" part.  Example:
+            ;; Meant to handle the case where a link is broken by
+            ;; `fill-paragraph' into two lines, in which case it
+            ;; buttonizes only the "denote:ID" part.  Example:
             ;;
             ;; [[denote:20220619T175212][This is a
             ;; test]]
+            ;;
+            ;; Maybe there is a better way?
             (thing-at-point-looking-at "\\[\\(denote:.*\\)]"))
     (match-string-no-properties 0)))
 



reply via email to

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