[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/annotate 3d7b80448d 1/7: - fixed deletion of annotations;
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/annotate 3d7b80448d 1/7: - fixed deletion of annotations; |
Date: |
Thu, 7 Apr 2022 10:58:03 -0400 (EDT) |
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."
- [nongnu] elpa/annotate updated (5bf59f8038 -> 47cb29be96), ELPA Syncer, 2022/04/07
- [nongnu] elpa/annotate 96f1d610f2 4/7: - increased version number., ELPA Syncer, 2022/04/07
- [nongnu] elpa/annotate 0fa1bb0d98 3/7: - updated docstrings., ELPA Syncer, 2022/04/07
- [nongnu] elpa/annotate 94a17804f7 2/7: - added an email address to contact the developers;, ELPA Syncer, 2022/04/07
- [nongnu] elpa/annotate 4399d5075c 6/7: - updated Changelog., ELPA Syncer, 2022/04/07
- [nongnu] elpa/annotate 47cb29be96 7/7: Merge pull request #125 from cage2/fixed-deleting-annotation, ELPA Syncer, 2022/04/07
- [nongnu] elpa/annotate 3d7b80448d 1/7: - fixed deletion of annotations;,
ELPA Syncer <=
- [nongnu] elpa/annotate 9b5025207c 5/7: - updated NEWS.org., ELPA Syncer, 2022/04/07