aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Olson <mwolson@gnu.org>2007-08-18 18:52:00 +0000
committerMichael Olson <mwolson@gnu.org>2007-08-18 18:52:00 +0000
commit03f4b18cee7f843cb8df67f2411b18d44fc941f4 (patch)
tree4cba1459067f9e6da4e404ae93b4c39a89793e17
parent4bcac4766f465f80cfcf08f3c3a4840e610f5882 (diff)
Use slightly different XEmacs overlay fix
darcs-hash:20070818185218-1bfb2-fa9c17ee4eb9fbbef332a9ecc1a0e193279c1d35.gz
-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)