[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/annotate 59ca58c06b 308/372: changed function from 'font-l
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/annotate 59ca58c06b 308/372: changed function from 'font-lock-ensure' to 'font-lock-flush'. |
Date: |
Fri, 4 Feb 2022 16:59:14 -0500 (EST) |
branch: elpa/annotate
commit 59ca58c06bb1430a275dfcfd786b0d3e707fd223
Author: cage <cage-invalid@invalid>
Commit: cage <cage-invalid@invalid>
changed function from 'font-lock-ensure' to 'font-lock-flush'.
---
annotate.el | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/annotate.el b/annotate.el
index 8ac9b9d087..ca5d8c7bd3 100644
--- a/annotate.el
+++ b/annotate.el
@@ -424,19 +424,19 @@ modified (for example a newline is inserted)."
(let ((chain (cl-remove overlay (annotate-find-chain overlay))))
(delete-overlay overlay)
(annotate--remap-chain-pos chain)
- (font-lock-ensure))))))))))
+ (font-lock-flush))))))))))
(defun annotate-info-select-fn ()
"The function to be called when an info buffer is updated"
(annotate-clear-annotations)
(annotate-load-annotations)
- (font-lock-ensure nil))
+ (font-lock-flush nil))
(defun annotate-initialize ()
"Load annotations and set up save and display hooks."
(annotate-load-annotations)
(add-hook 'after-save-hook 'annotate-save-annotations t t)
- (add-hook 'window-configuration-change-hook 'font-lock-ensure t t)
+ (add-hook 'window-configuration-change-hook 'font-lock-flush t t)
(add-hook 'before-change-functions 'annotate-before-change-fn t t)
(add-hook 'Info-selection-hook 'annotate-info-select-fn t t)
(if annotate-use-echo-area
@@ -452,7 +452,7 @@ modified (for example a newline is inserted)."
"Clear annotations and remove save and display hooks."
(annotate-clear-annotations)
(remove-hook 'after-save-hook 'annotate-save-annotations t)
- (remove-hook 'window-configuration-change-hook 'font-lock-ensure t)
+ (remove-hook 'window-configuration-change-hook 'font-lock-flush t)
(remove-hook 'before-change-functions 'annotate-before-change-fn t)
(remove-hook 'Info-selection-hook 'annotate-info-select-fn t)
(if annotate-use-echo-area
@@ -626,7 +626,7 @@ specified by `from' and `to'."
(create-new-annotation)))))
(annotation
(annotate-change-annotation (point))
- (font-lock-ensure nil))
+ (font-lock-flush nil))
(t
(if (annotate--position-on-annotated-text-p (point))
(signal 'annotate-annotate-region-overlaps nil)
@@ -1341,7 +1341,7 @@ essentially what you get from:
(annotation-string (annotate-annotation-string
annotation)))
(annotate-create-annotation start end annotation-string nil)))))
(set-buffer-modified-p modified-p)
- (font-lock-ensure)
+ (font-lock-flush)
(if annotate-use-messages
(message "Annotations loaded."))))
@@ -1419,7 +1419,7 @@ example:
annotation-string
annotated-text))))))
(set-buffer-modified-p modified-p)
- (font-lock-ensure)
+ (font-lock-flush)
(when annotate-use-messages
(message "Annotations loaded."))))))
@@ -1960,7 +1960,7 @@ This function is not part of the public API."
(progn ; delete just the last element of the chain
(annotate-delete-chain-element last-annotation)
(when refontify-buffer
- (font-lock-ensure)))))
+ (font-lock-flush)))))
(t
(move-overlay last-annotation last-annotation-starting-pos
new-ending-pos))))))
- [nongnu] elpa/annotate a37ec08035 249/372: - added signalling of error to 'annotate-switch-db';, (continued)
- [nongnu] elpa/annotate a37ec08035 249/372: - added signalling of error to 'annotate-switch-db';, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 34f0df8d5b 251/372: - updated documentation., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate bc89867f65 289/372: Merge pull request #92 from cage2/expand-db-path, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate be998ca006 263/372: Merge pull request #81 from cage2/popup-annotation, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 804c7b9421 257/372: - Removed internal link because of issue #79., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate a9f061cecd 268/372: - added more docstrings., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 88ed6f22cb 285/372: - rewritten export and integrate of annotations, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 463e215bec 284/372: - fixed export for annotated text made from a single line., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate e53c0f5adf 296/372: - added checking encrypted (GPG) file format, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate be48989c98 299/372: - fixed 'annotate-previous-annotation-ends', ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 59ca58c06b 308/372: changed function from 'font-lock-ensure' to 'font-lock-flush'.,
ELPA Syncer <=
- [nongnu] elpa/annotate f823c3cf09 354/372: - changed default for asking confirm before deleting an annotation: the value is now 'nil' (do not prompt for confirmation)., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 3bb813cd62 360/372: - updated NEWS.org and Changelog., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 140eb6b6cb 363/372: - updated NEWS.org;, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate b22f594f3b 336/372: Merge pull request #107 from cage2/prevent-saving-empty-db, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate de86b9b22e 341/372: - removed uses of regular expressions from 'annotate-unwrap-text'., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate e083073ead 371/372: - updated Changelog;, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 0901aa52bc 367/372: - added the others procedures to import an annotation database., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate f08923762f 063/372: fix typo in documentation, ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 16f7202d7c 091/372: - fixed docstring., ELPA Syncer, 2022/02/04
- [nongnu] elpa/annotate 7c759ba9eb 082/372: - fixed english language error., ELPA Syncer, 2022/02/04