aboutsummaryrefslogtreecommitdiff
path: root/lisp/emms-compat.el
diff options
context:
space:
mode:
authorWilliam Xu <william.xwl@gmail.com>2009-11-23 22:11:19 +0800
committerWilliam Xu <william.xwl@gmail.com>2009-11-23 22:11:19 +0800
commite54c755ce0c2ef19bfcd4cdca995e4d2bc3b2703 (patch)
tree2d5262b40213039f05a8af123148ca0a41fbc6c5 /lisp/emms-compat.el
parent2b629e9c2d97a521a4cddbf03286661eab687c42 (diff)
Fix compiler warnings.
For emms-browser.el, emms-compat.el, emms-last-play.el, emms-lyrics.el and emms-streams.el.
Diffstat (limited to 'lisp/emms-compat.el')
-rw-r--r--lisp/emms-compat.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/emms-compat.el b/lisp/emms-compat.el
index 5b21858..f5ede0b 100644
--- a/lisp/emms-compat.el
+++ b/lisp/emms-compat.el
@@ -45,9 +45,9 @@ The warning will say that NEW-NAME should be used instead.
WHEN should be a string indicating when the function was
first made obsolete, either the file's revision number or an
EMMS release version number."
- (condition-case nil
- (make-obsolete old-name new-name when)
- (wrong-number-of-arguments (make-obsolete old-name new-name))))
+ (if (featurep 'xemacs)
+ (make-obsolete old-name new-name)
+ (make-obsolete old-name new-name when)))
;;; Time and timers