[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/annotate c6864fb4a0 1/6: - prevented running the function
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/annotate c6864fb4a0 1/6: - prevented running the function 'annotate--remove-annotation-property' |
Date: |
Tue, 22 Nov 2022 12:58:54 -0500 (EST) |
branch: elpa/annotate
commit c6864fb4a0e662eb74b9de3951d2db70565b2813
Author: cage <cage@invalid>
Commit: cage <cage@invalid>
- prevented running the function 'annotate--remove-annotation-property'
(tied to a string property) in a buffer where annotate-mode is null.
---
annotate.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/annotate.el b/annotate.el
index f1488ba10d..563d82511f 100644
--- a/annotate.el
+++ b/annotate.el
@@ -1329,7 +1329,8 @@ a a**"
(defun annotate--remove-annotation-property (_begin end)
"Cleans up annotation properties associated within a region
surrounded by `BEGIN' and `END'."
- (when (and (> (buffer-size) 0)
+ (when (and annotate-mode
+ (> (buffer-size) 0)
(not (buffer-narrowed-p)))
(with-silent-modifications
(annotate-with-disable-read-only
- [nongnu] elpa/annotate updated (479aa90fd6 -> a92294e993), ELPA Syncer, 2022/11/22
- [nongnu] elpa/annotate fdfec4b1d2 4/6: - removed a redudant test for checking if a file is in info format., ELPA Syncer, 2022/11/22
- [nongnu] elpa/annotate c5721f07a8 5/6: - fixed logic of conditional test., ELPA Syncer, 2022/11/22
- [nongnu] elpa/annotate 9e471be0e5 3/6: - mention user for their help., ELPA Syncer, 2022/11/22
- [nongnu] elpa/annotate 02bc30d041 2/6: - increased version number and updated NEWS.org., ELPA Syncer, 2022/11/22
- [nongnu] elpa/annotate c6864fb4a0 1/6: - prevented running the function 'annotate--remove-annotation-property',
ELPA Syncer <=
- [nongnu] elpa/annotate a92294e993 6/6: Merge pull request #140 from cage2/fix-tramp-crash, ELPA Syncer, 2022/11/22