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

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

[nongnu] elpa/annotate 1f159c36e3 07/17: - commenting call to 'font-lock


From: ELPA Syncer
Subject: [nongnu] elpa/annotate 1f159c36e3 07/17: - commenting call to 'font-lock-flush' when removing annotation
Date: Fri, 25 Feb 2022 14:57:56 -0500 (EST)

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."



reply via email to

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