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

    Fix certain changes from commit e6d5a0a added to a block where modification 
of buffer faces was not yet allowed; there were hardly any practical 
consequences, that's why the error went unnoticed.
---
 logview.el | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/logview.el b/logview.el
index 5034945c66..58c1ab9379 100644
--- a/logview.el
+++ b/logview.el
@@ -3886,12 +3886,12 @@ This list is preserved across Emacs session in
       ;; properties (e.g. faces) everywhere in the fontified region and that's 
normally
       ;; enough.
       (font-lock-unfontify-region region-start region-end)
-      (if logview--postpone-fontification
-          (progn (add-face-text-property region-start region-end 
'logview-unprocessed)
-                 (unless logview--pending-refontifications
-                   (run-with-idle-timer 0 nil 
#'logview--schedule-pending-refontification))
-                 (push (list (current-buffer) region-start region-end) 
logview--pending-refontifications))
-        (logview--std-altering
+      (logview--std-altering
+        (if logview--postpone-fontification
+            (progn (add-face-text-property region-start region-end 
'logview-unprocessed)
+                   (unless logview--pending-refontifications
+                     (run-with-idle-timer 0 nil 
#'logview--schedule-pending-refontification))
+                   (push (list (current-buffer) region-start region-end) 
logview--pending-refontifications))
           (save-match-data
             (let ((region-start (cdr (logview--do-locate-current-entry 
region-start))))
               (when region-start

Reply via email to