From 20597ccc73f366a9049812a14b190a65a6f98693 Mon Sep 17 00:00:00 2001 From: shuhei-k Date: Wed, 26 Aug 1998 00:03:42 +0000 Subject: [PATCH] (gnus-string-width): Removed. (gnus-truncate-string): Ignore more than two arguments. --- lisp/gnus-util.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 1.7.10.4