aboutsummaryrefslogtreecommitdiff
path: root/lisp/emms-compat.el
diff options
context:
space:
mode:
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