[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/jit-spell 18073945a9 1/7: Remove unnecessary check
From: |
ELPA Syncer |
Subject: |
[elpa] externals/jit-spell 18073945a9 1/7: Remove unnecessary check |
Date: |
Mon, 6 Mar 2023 15:58:28 -0500 (EST) |
branch: externals/jit-spell
commit 18073945a93e86f55e9bdc6c545c2d88167870d3
Author: Augusto Stoffel <arstoffel@gmail.com>
Commit: Augusto Stoffel <arstoffel@gmail.com>
Remove unnecessary check
---
jit-spell.el | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/jit-spell.el b/jit-spell.el
index fcb0112cab..ddcd481e5b 100644
--- a/jit-spell.el
+++ b/jit-spell.el
@@ -330,14 +330,11 @@ ispell process."
(defun jit-spell--schedule-pending-checks (buffer)
"Schedule a call to `jit-spell--check-pending-regions' in BUFFER."
- (when (buffer-live-p buffer)
- (when (bound-and-true-p jit-spell--debug)
- (message "Scheduled recheck"))
- (with-current-buffer buffer
- (when (timerp jit-spell--recheck-timer)
- (cancel-timer jit-spell--recheck-timer))
- (setq jit-spell--recheck-timer
- (run-with-idle-timer 0.1 nil #'jit-spell--check-pending-regions
buffer)))))
+ (with-current-buffer buffer
+ (when (timerp jit-spell--recheck-timer)
+ (cancel-timer jit-spell--recheck-timer))
+ (setq jit-spell--recheck-timer
+ (run-with-idle-timer 0.1 nil #'jit-spell--check-pending-regions
buffer))))
(defun jit-spell--check-pending-regions (buffer)
"Enqueue spell check requests for all pending regions of BUFFER."
- [elpa] externals/jit-spell updated (0411d64169 -> 20445a2597), ELPA Syncer, 2023/03/06
- [elpa] externals/jit-spell 18073945a9 1/7: Remove unnecessary check,
ELPA Syncer <=
- [elpa] externals/jit-spell c5957b71ad 2/7: Improve documentation of the process plist entries, ELPA Syncer, 2023/03/06
- [elpa] externals/jit-spell eb3afae398 3/7: Add jit-spell--filter-region variable and function, ELPA Syncer, 2023/03/06
- [elpa] externals/jit-spell adf6817819 4/7: Add option to work around Hunspell's apostrophe issue, ELPA Syncer, 2023/03/06
- [elpa] externals/jit-spell cbf249dc7c 5/7: Rename jit-spell--accept-word, remove interactive form, ELPA Syncer, 2023/03/06
- [elpa] externals/jit-spell a65bc6b3d9 6/7: Retire jit-spell-delayed-commands and the pre-command hook, ELPA Syncer, 2023/03/06
- [elpa] externals/jit-spell 20445a2597 7/7: Use Flyspell's ignore predicate when available, ELPA Syncer, 2023/03/06