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

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

[nongnu] elpa/annotate ffac176c22 021/372: fix upside-down annotation co


From: ELPA Syncer
Subject: [nongnu] elpa/annotate ffac176c22 021/372: fix upside-down annotation construction
Date: Fri, 4 Feb 2022 16:58:15 -0500 (EST)

branch: elpa/annotate
commit ffac176c22eb58fdfebc10a9f8e7c34287b6e5cb
Author: Bastian Bechtold <bb@mo30211.hs-woe.de>
Commit: Bastian Bechtold <bb@mo30211.hs-woe.de>

    fix upside-down annotation construction
    
    fixes #4
---
 annotate.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/annotate.el b/annotate.el
index 489b299f14..a2a81cbe9d 100644
--- a/annotate.el
+++ b/annotate.el
@@ -177,6 +177,7 @@
         (overlay-put highlight 'annotation annotation)
         (setq annotation (propertize annotation 'face 'annotate-annotation))
         (save-excursion
+          (goto-char (max start end))
           (move-end-of-line nil)
           (put-text-property (point) (1+ (point))
                              'display (concat prefix annotation "\n")))))))



reply via email to

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