projects
/
elisp
/
gnus.git-
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
633fed6
)
(gnus-truncate-string): Ignore more than two arguments.
author
shuhei-k
<shuhei-k>
Wed, 26 Aug 1998 01:02:22 +0000
(
01:02
+0000)
committer
shuhei-k
<shuhei-k>
Wed, 26 Aug 1998 01:02:22 +0000
(
01:02
+0000)
lisp/gnus-util.el
patch
|
blob
|
history
diff --git
a/lisp/gnus-util.el
b/lisp/gnus-util.el
index
4e437f5
..
45bfcb0
100644
(file)
--- a/
lisp/gnus-util.el
+++ b/
lisp/gnus-util.el
@@
-75,7
+75,10
@@
(set symbol nil))
symbol))
-(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 <dairiki@u.washington.edu>. A safe way