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

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

[nongnu] elpa/annotate dd6165ba32 05/14: - fixed wrapping of annotation


From: ELPA Syncer
Subject: [nongnu] elpa/annotate dd6165ba32 05/14: - fixed wrapping of annotation in a 'box'.
Date: Wed, 20 Mar 2024 10:00:00 -0400 (EDT)

branch: elpa/annotate
commit dd6165ba32f34f0bef5074e5519cd9214e2e3a33
Author: cage <cage>
Commit: cage <cage@invalid>

    - fixed wrapping of annotation in a 'box'.
---
 annotate.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/annotate.el b/annotate.el
index 107b789370..9d12e2d4be 100644
--- a/annotate.el
+++ b/annotate.el
@@ -1379,10 +1379,11 @@ a        a**"
                             :new-line
                           :margin)
                       position)))
-            (let* ((multiline-annotation (annotate-wrap-annotation-in-box ov
+            (let* ((wrap-in-a-new-line   (eq new-position-policy :new-line))
+                   (multiline-annotation (annotate-wrap-annotation-in-box ov
                                                                           bol
                                                                           eol
-                                                                          
new-position-policy))
+                                                                          
wrap-in-a-new-line))
                    (annotation-stopper   (if (not (eq new-position-policy
                                                       :margin))
                                              (if (= overlays-counter



reply via email to

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