From: shuhei-k Date: Wed, 26 Aug 1998 00:03:42 +0000 (+0000) Subject: (gnus-string-width): Removed. X-Git-Tag: semi-mule-199811302358~4 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20597ccc73f366a9049812a14b190a65a6f98693;p=elisp%2Fgnus.git- (gnus-string-width): Removed. (gnus-truncate-string): Ignore more than two arguments. --- diff --git a/lisp/gnus-util.el b/lisp/gnus-util.el index 876e2fc..8e6c0b6 100644 --- a/lisp/gnus-util.el +++ b/lisp/gnus-util.el @@ -75,10 +75,10 @@ (set symbol nil)) symbol)) -(defun gnus-string-width (str) - (length str)) - -(defun gnus-truncate-string (str width) +;; Avoid byte-compile warning. +;; In Mule, this function will be redefined to `truncate-string', +;; which takes 3 or 4 args. +(defun gnus-truncate-string (str width &rest ignore) (substring str 0 width)) ;; Added by Geoffrey T. Dairiki . A safe way