[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/eat 2ea84e0a34 2/7: Don't accept 'nil' as annotation corre
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/eat 2ea84e0a34 2/7: Don't accept 'nil' as annotation correction delay |
Date: |
Wed, 7 Dec 2022 04:58:41 -0500 (EST) |
branch: elpa/eat
commit 2ea84e0a34678735a0973f61275cf78653f4879d
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>
Don't accept 'nil' as annotation correction delay
* eat.el (eat-shell-prompt-annotation-correction-delay): Don't
accept 'nil'.
* eat.el (eat--process-output-queue): Don't accept value 'nil'
for 'eat-shell-prompt-annotation-correction-delay'.
---
eat.el | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
diff --git a/eat.el b/eat.el
index 0a9466f0bf..e66f7f6caf 100644
--- a/eat.el
+++ b/eat.el
@@ -214,11 +214,8 @@ The value can be one of the following:
"Seconds to wait before correcting shell prompt annotations.
Wait this many second after terminal update before correcting shell
-prompt annotation.
-
-Nil means correct immediately after terminal update."
- :type '(choice (const :tag "Immediately" nil)
- number)
+prompt annotation."
+ :type 'number
:group 'eat-ui)
(defconst eat--cursor-type-value-type
@@ -4953,13 +4950,11 @@ OS's."
(max (point-min)
(- (eat-term-display-beginning eat--terminal)
eat-term-scrollback-size))))
- (if (null eat-shell-prompt-annotation-correction-delay)
- (eat--correct-shell-prompt-mark-overlays buffer)
- (setq eat--shell-prompt-annotation-correction-timer
- (run-with-timer
- eat-shell-prompt-annotation-correction-delay
- nil #'eat--correct-shell-prompt-mark-overlays
- buffer)))
+ (setq eat--shell-prompt-annotation-correction-timer
+ (run-with-timer
+ eat-shell-prompt-annotation-correction-delay
+ nil #'eat--correct-shell-prompt-mark-overlays
+ buffer))
(when synchronize-scroll
(funcall eat--synchronize-scroll-function))))))
- [nongnu] elpa/eat updated (693940c733 -> 58fd1b1196), ELPA Syncer, 2022/12/07
- [nongnu] elpa/eat 2ea84e0a34 2/7: Don't accept 'nil' as annotation correction delay,
ELPA Syncer <=
- [nongnu] elpa/eat b3c81c3078 4/7: Move Bash global variables to function, ELPA Syncer, 2022/12/07
- [nongnu] elpa/eat e05931d7e9 3/7: Document annotation correction delay user option, ELPA Syncer, 2022/12/07
- [nongnu] elpa/eat a65b7bc064 1/7: Rename some symbols to reflect their purposes, ELPA Syncer, 2022/12/07
- [nongnu] elpa/eat e6a7deafd0 5/7: Auto update 'eat-term-shell-integration-directory', ELPA Syncer, 2022/12/07
- [nongnu] elpa/eat 58fd1b1196 7/7: Synchronize scrolling only when point is on cursor, ELPA Syncer, 2022/12/07
- [nongnu] elpa/eat ebc77efd0f 6/7: Escape control characters in trace output, ELPA Syncer, 2022/12/07