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

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

[nongnu] elpa/annotate f6780672bc 011/372: fix change annotation functio


From: ELPA Syncer
Subject: [nongnu] elpa/annotate f6780672bc 011/372: fix change annotation function
Date: Fri, 4 Feb 2022 16:58:15 -0500 (EST)

branch: elpa/annotate
commit f6780672bc88a2f7dd31b83f8bf778379f467496
Author: Bastian Bechtold <bb@Mr-Bigglesworth.local>
Commit: Bastian Bechtold <bb@Mr-Bigglesworth.local>

    fix change annotation function
    
    now works for multi-line annotations, too
---
 annotate.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/annotate.el b/annotate.el
index b9e06c1f9e..9c0f227e78 100644
--- a/annotate.el
+++ b/annotate.el
@@ -65,6 +65,7 @@
          (annotation (read-from-minibuffer "Annotation: " (overlay-get 
highlight 'annotation)))
          (prefix (make-string (- annotate-annotation-column 
(annotate-line-length)) ? )))
     (save-excursion
+      (goto-char (overlay-end highlight))
       (move-end-of-line nil)
       (cond
        ((string= "" annotation)



reply via email to

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