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

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

[elpa] externals/assess 47ce039423 77/95: Avoid font-lock-ensure for old


From: ELPA Syncer
Subject: [elpa] externals/assess 47ce039423 77/95: Avoid font-lock-ensure for older Emacs
Date: Tue, 19 Jul 2022 15:57:35 -0400 (EDT)

branch: externals/assess
commit 47ce039423f660174d097698615aaad6c77e87fb
Author: Phillip Lord <phillip.lord@russet.org.uk>
Commit: Phillip Lord <phillip.lord@russet.org.uk>

    Avoid font-lock-ensure for older Emacs
---
 test/assess-test.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/test/assess-test.el b/test/assess-test.el
index 8158010752..79b1e6e84d 100644
--- a/test/assess-test.el
+++ b/test/assess-test.el
@@ -537,8 +537,9 @@ This also tests the advice on string=."
    (assess-with-temp-buffers
        ((a (insert ";; Commented")
            (emacs-lisp-mode)
-           (font-lock-ensure))
+           ;; use instead of font-lock-ensure for emacs 24
+           (font-lock-fontify-buffer))
         (b (insert ";; Commented")
-           (font-lock-ensure)))
+           (font-lock-fontify-buffer)))
      (assess= a b))))
 ;; #+end_src



reply via email to

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