[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/eat 2207109d24 2/3: ; * eat.el (eat-term-color-.*): Fix do
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/eat 2207109d24 2/3: ; * eat.el (eat-term-color-.*): Fix docstring |
Date: |
Thu, 8 Dec 2022 09:58:41 -0500 (EST) |
branch: elpa/eat
commit 2207109d241544cfe42a52135f2451c8836ceb37
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>
; * eat.el (eat-term-color-.*): Fix docstring
---
eat.el | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/eat.el b/eat.el
index 56ebdcb32e..3312ef90d9 100644
--- a/eat.el
+++ b/eat.el
@@ -483,9 +483,11 @@ If your process is choking on big inputs, try lowering the
value."
`((t :foreground ,color :background ,color))
(format "Face used to render text with %i%s color of 256 color\
palette."
- face-counter (or (nth (% face-counter 10)
- '(nil "st" "nd" "rd"))
- "th"))
+ face-counter
+ (or (and (not (<= 11 (% face-counter 100) 13))
+ (nth (% face-counter 10)
+ '(nil "st" "nd" "rd")))
+ "th"))
:group 'eat-term))
(cl-incf face-counter)))