From 2207109d241544cfe42a52135f2451c8836ceb37 Mon Sep 17 00:00:00 2001 From: Akib Azmain Turja Date: Thu, 8 Dec 2022 17:36:54 +0600 Subject: [PATCH] ; * 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 56ebdcb..3312ef9 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)))