diff options
author | Michael Olson <mwolson@gnu.org> | 2006-04-20 23:57:00 +0000 |
---|---|---|
committer | Michael Olson <mwolson@gnu.org> | 2006-04-20 23:57:00 +0000 |
commit | 8030081c1ac0a7e849780f2af9ca6632ce9bc21e (patch) | |
tree | 72085d8c7c23045d7b63d5d5b8299047d91f4e64 | |
parent | a33158e96b8da3e4be465baac2e918f9127a5559 (diff) |
emms.el: Fix compiler warning for Emacs22.
darcs-hash:20060420235746-1bfb2-6441ee307970da64129ecec07effb3d09acbad2b.gz
-rw-r--r-- | emms.el | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -371,11 +371,11 @@ See `emms-repeat-track'." ;;; 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)) +(defun emms-propertize (string &rest properties) + (if (fboundp 'propertize) + (apply #'propertize string properties) + (set-text-properties 0 (length string) properties string) + string)) (defun emms-cancel-timer (timer) "Cancel the given TIMER." |