branch: elpa/logview
commit c3edc542ff480f849a423ad3b8f3d6e4e0635cb4
Author: Paul Pogonyshev <pogonys...@gmail.com>
Commit: Paul Pogonyshev <pogonys...@gmail.com>

    Rewrite the last commit to silence yet another warning.
---
 logview.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/logview.el b/logview.el
index f135061de1..c48a07536f 100644
--- a/logview.el
+++ b/logview.el
@@ -2257,10 +2257,10 @@ See `logview--iterate-entries-forward' for details."
   (logview--retire-hiding-symbol 'logview--filtered-symbol)
   (logview--update-invisibility-spec)
   (logview--std-temporarily-widening
-    (if (fboundp 'font-lock-flush)
-        (with-no-warnings (font-lock-flush))
-      ;; Emacs 24 doesn't have `font-lock-flush'.
-      (font-lock-fontify-buffer))))
+    (with-no-warnings (if (fboundp 'font-lock-flush)
+                          (font-lock-flush)
+                        ;; Emacs 24 doesn't have `font-lock-flush'.
+                        (font-lock-fontify-buffer)))))
 
 
 (defun logview--maybe-pulse-current-entry (&optional why)

Reply via email to