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

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

[elpa] externals/jinx b7e476d8e8: Fix jinx-correct in indirect buffers (


From: ELPA Syncer
Subject: [elpa] externals/jinx b7e476d8e8: Fix jinx-correct in indirect buffers (Fix #68)
Date: Tue, 9 May 2023 04:58:51 -0400 (EDT)

branch: externals/jinx
commit b7e476d8e8b80ccc6bb124bd3553894e3d14ca6c
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Fix jinx-correct in indirect buffers (Fix #68)
---
 jinx.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/jinx.el b/jinx.el
index b38c759c63..23af865630 100644
--- a/jinx.el
+++ b/jinx.el
@@ -461,7 +461,8 @@ If CHECK is non-nil, always check first."
         ;; FIXME `with-delayed-message' is broken in combination with
         ;; `inhibit-message'. Report this as a bug.
         (progn ;; with-delayed-message (1 "Fontifying...")
-          (jit-lock-fontify-now))
+          (with-current-buffer (or (buffer-base-buffer) (current-buffer))
+            (jit-lock-fontify-now)))
         (progn ;; with-delayed-message (1 "Checking...")
           (jinx--check-region start end))
         (jinx--get-overlays start end visible))



reply via email to

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