branch: elpa/annotate commit ffac176c22eb58fdfebc10a9f8e7c34287b6e5cb Author: Bastian Bechtold <b...@mo30211.hs-woe.de> Commit: Bastian Bechtold <b...@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")))))))