[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/jinx 1715607237 1/2: jinx-correct: Refontify should not
From: |
ELPA Syncer |
Subject: |
[elpa] externals/jinx 1715607237 1/2: jinx-correct: Refontify should not be necessary |
Date: |
Tue, 11 Jul 2023 12:58:04 -0400 (EDT) |
branch: externals/jinx
commit 1715607237aa70560e47c2568c5b1c4efc8601ef
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
jinx-correct: Refontify should not be necessary
---
jinx.el | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/jinx.el b/jinx.el
index 1b1f4ae7ca..06bd4668e3 100644
--- a/jinx.el
+++ b/jinx.el
@@ -854,10 +854,8 @@ If prefix argument ALL non-nil correct all misspellings."
(cond
((integerp skip) (setq idx (mod (+ idx skip) count)))
((or all deleted) (cl-incf idx))))))
- (if all
- (jinx--in-base-buffer #'jit-lock-refontify)
- (goto-char old-point)
- (jinx--in-base-buffer #'jit-lock-refontify (window-start)
(window-end))))))
+ (unless all
+ (goto-char old-point)))))
(defun jinx-correct-select ()
"Quick selection key for corrections."