aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorforcer <forcer>2006-04-20 23:07:00 +0000
committerforcer <mwolson@gnu.org>2006-04-20 23:07:00 +0000
commit6e194a2d2a308faac79be89e26b6a49fe04e6717 (patch)
treef9045d75165aea004cb7f2f6bbf4cf670b9d9987
parent08471d5e769d67f6d9f7b908d7c04b7c4d09837c (diff)
Move propertize compatibility function to the others.
darcs-hash:20060420230737-2189f-ba23ce86a96b3da64f5642790f0e839f01f9f406.gz
-rw-r--r--emms.el16
1 files changed, 7 insertions, 9 deletions
diff --git a/emms.el b/emms.el
index 33c922a..7e1ffaf 100644
--- a/emms.el
+++ b/emms.el
@@ -369,15 +369,6 @@ See `emms-repeat-track'."
(error "No EMMS player playing right now")))
-;;; Compatibility functions
-
-(if (not (fboundp 'propertize))
- (defun emms-propertize (string &rest properties)
- (set-text-properties 0 (length string) properties string)
- string)
- (defalias 'emms-propertize 'propertize))
-
-
;;; Tracks
;; This is a simple datatype to store track information.
@@ -1165,5 +1156,12 @@ If fifth arg LITERAL is non-nil, insert REPLACEMENT literally."
text (replace-match replacement fixedcase literal text))))
text)))
+(if (not (fboundp 'propertize))
+ (defun emms-propertize (string &rest properties)
+ (set-text-properties 0 (length string) properties string)
+ string)
+ (defalias 'emms-propertize 'propertize))
+
+
(provide 'emms)
;;; emms.el ends here