From: shuhei-k Date: Sat, 22 Aug 1998 21:59:01 +0000 (+0000) Subject: (gnus-string-width): New function. X-Git-Tag: semi-mule-199811302358~18 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=7ac6a24e5048ae8413501aff91b8c3a5ca6e049c;p=elisp%2Fgnus.git- (gnus-string-width): New function. --- 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))