aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emms-compat.el3
-rw-r--r--emms-tag-editor.el4
2 files changed, 4 insertions, 3 deletions
diff --git a/emms-compat.el b/emms-compat.el
index 2cf4b1b..74ecb48 100644
--- a/emms-compat.el
+++ b/emms-compat.el
@@ -28,9 +28,6 @@
;;; Code:
-(if (string-match "XEmacs" (emacs-version))
- (require 'overlay))
-
;;; Miscellaneous
diff --git a/emms-tag-editor.el b/emms-tag-editor.el
index ae79faa..b9ac99f 100644
--- a/emms-tag-editor.el
+++ b/emms-tag-editor.el
@@ -29,6 +29,10 @@
(eval-when-compile
(require 'cl))
+(eval-when-compile
+ (condition-case nil
+ (require 'overlay)
+ (error nil)))
(require 'emms)
(require 'emms-info-mp3info)
(require 'emms-playlist-mode)