From 7ac6a24e5048ae8413501aff91b8c3a5ca6e049c Mon Sep 17 00:00:00 2001 From: shuhei-k Date: Sat, 22 Aug 1998 21:59:01 +0000 Subject: [PATCH] (gnus-string-width): New function. --- lisp/gnus-util.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/gnus-util.el b/lisp/gnus-util.el index dbb5baa..876e2fc 100644 --- a/lisp/gnus-util.el +++ b/lisp/gnus-util.el @@ -75,6 +75,9 @@ (set symbol nil)) symbol)) +(defun gnus-string-width (str) + (length str)) + (defun gnus-truncate-string (str width) (substring str 0 width)) -- 1.7.10.4