summaryrefslogtreecommitdiffhomepage
path: root/lib/eos
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-03-18 21:33:59 +0000
committerjao <jao@gnu.org>2022-03-18 21:33:59 +0000
commit6c9c256d2817ba4d92b6e96ff4536c27ddd2e032 (patch)
tree6b176e5e94a6a3b57c586f873078c315d6329f64 /lib/eos
parent56c3ee88fb13d9aa2d60e84892039131a42531bc (diff)
downloadelibs-6c9c256d2817ba4d92b6e96ff4536c27ddd2e032.tar.gz
elibs-6c9c256d2817ba4d92b6e96ff4536c27ddd2e032.tar.bz2
nits
Diffstat (limited to 'lib/eos')
-rw-r--r--lib/eos/jao-minibuffer.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/eos/jao-minibuffer.el b/lib/eos/jao-minibuffer.el
index f77857e..54e1794 100644
--- a/lib/eos/jao-minibuffer.el
+++ b/lib/eos/jao-minibuffer.el
@@ -36,7 +36,7 @@
(defconst jao-minibuffer--name " *Minibuf-0*")
(defun jao-minibuffer--trim (s w)
- (if (<= (string-width (or s "")) w)
+ (if (< (string-width (or s "")) w)
(format (format "%%%ds" (if jao-minibuffer-align-right w (- w))) s)
(substring s 0 w)))