summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-fun.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2012-09-03 22:12:02 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2012-09-03 22:12:02 +0000
commit8a8507e9b726ac9eb347270b04cb9daafb093cbe (patch)
tree409439a805e55c0baaca28b2648e8da36713fea9 /lisp/gnus/gnus-fun.el
parentd42f4f0fb374051f2f80228821e5c0b824451807 (diff)
downloademacs-8a8507e9b726ac9eb347270b04cb9daafb093cbe.tar.gz
[Gnus] Silence XEmacs compilation warnings
Diffstat (limited to 'lisp/gnus/gnus-fun.el')
-rw-r--r--lisp/gnus/gnus-fun.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/gnus/gnus-fun.el b/lisp/gnus/gnus-fun.el
index f33eb910c6a..f5e1c5ad691 100644
--- a/lisp/gnus/gnus-fun.el
+++ b/lisp/gnus/gnus-fun.el
@@ -278,6 +278,10 @@ colors of the displayed X-Faces."
values))
(mapconcat 'identity values " ")))
+(defun gnus-funcall-no-warning (function &rest args)
+ (when (fboundp function)
+ (apply function args)))
+
(provide 'gnus-fun)
;;; gnus-fun.el ends here