branch: elpa/annotate commit e6fb2b31dfa0cba34e374b2394acf21ca1523279 Author: cage <cage-invalid@invalid> Commit: cage <cage-invalid@invalid>
- fixed position to start for overlay checks in 'annotate-previous-annotation-change'. --- annotate.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/annotate.el b/annotate.el index 911b0c86e9..10b1bbd3ab 100644 --- a/annotate.el +++ b/annotate.el @@ -1414,7 +1414,7 @@ The searched interval can be customized setting the variable: "Return the previous annotation before point or nil if no annotation was found" (let* ((overlay-pos (previous-overlay-change point)) - (all-overlays (overlays-at overlay-pos)) + (all-overlays (overlays-at (1- overlay-pos))) (sorted-overlays (sort all-overlays (lambda (a b) (> (overlay-end a)