diff options
author | William Xu <william.xwl@gmail.com> | 2009-11-23 22:11:19 +0800 |
---|---|---|
committer | William Xu <william.xwl@gmail.com> | 2009-11-23 22:11:19 +0800 |
commit | e54c755ce0c2ef19bfcd4cdca995e4d2bc3b2703 (patch) | |
tree | 2d5262b40213039f05a8af123148ca0a41fbc6c5 /lisp/emms-compat.el | |
parent | 2b629e9c2d97a521a4cddbf03286661eab687c42 (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.el | 6 |
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 |