branch: elpa/annotate
commit 1f159c36e350d6a3508948c79c0d29fd51de2085
Author: cage <cage@invalid>
Commit: cage <cage@invalid>
- commenting call to 'font-lock-flush' when removing annotation
because there is no more annotated text lef after a deletion.
---
annotate.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/annotate.el b/annotate.el
index a5867f7624..608a4212e2 100644
--- a/annotate.el
+++ b/annotate.el
@@ -423,9 +423,8 @@ modified (for example a newline is inserted)."
(when (<= a start-overlay)
(let ((chain (cl-remove overlay (annotate-find-chain overlay))))
(delete-overlay overlay)
- (annotate--remap-chain-pos chain)
- ;; FIXME: Why? And especially, why the whole buffer?
- (font-lock-flush))))))))))
+ (annotate--remap-chain-pos chain))))))))))
+;; (font-lock-flush))))))))))
(defun annotate-info-select-fn ()
"The function to be called when an info buffer is updated."