branch: elpa/annotate commit 3d7b80448da30763f39bae67dd9842bf7bd93e44 Author: cage <cage@invalid> Commit: cage <cage@invalid>
- fixed deletion of annotations; The function 'annotate-delete-annotation' does not set the modification bit after deleting so the annotation was not deleted at all if the buffer was saved just after calling this command. Also the coloring of the rest of the annotation was not updated. --- annotate.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/annotate.el b/annotate.el index e92d01746d..3955cdb59c 100644 --- a/annotate.el +++ b/annotate.el @@ -2108,7 +2108,9 @@ point)." (when-let ((annotation (annotate-annotation-at point))) (let* ((delete-confirmed-p (annotate--confirm-annotation-delete))) (when delete-confirmed-p - (annotate--delete-annotation-chain annotation))))) + (annotate--delete-annotation-chain annotation) + (font-lock-flush) + (set-buffer-modified-p t))))) (defun annotate-change-annotation (pos) "Change annotation at point. If empty, delete annotation."