diff options
author | Michael Olson <mwolson@gnu.org> | 2007-07-23 02:35:00 +0000 |
---|---|---|
committer | Michael Olson <mwolson@gnu.org> | 2007-07-23 02:35:00 +0000 |
commit | a77d0543f55ee0c6dda07f43cee68c5d52c76981 (patch) | |
tree | 21d96c7ec85abaeb03a0fea7d51592fb4f0adc87 | |
parent | f6a376a5382ab46ab47db17e7b2bfdd6af792bf8 (diff) |
Fix compiler warning in emms-setup
darcs-hash:20070723023532-1bfb2-f4ef4b544e973ab66838451f249a6c62f515ad79.gz
-rw-r--r-- | emms-setup.el | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/emms-setup.el b/emms-setup.el index ca88353..a39209d 100644 --- a/emms-setup.el +++ b/emms-setup.el @@ -73,11 +73,12 @@ audio files, and a metadata cache." ;; include (emms-minimalistic) ;; define - (require 'emms-playlist-mode) - (require 'emms-info) - (require 'emms-info-mp3info) - (require 'emms-info-ogginfo) - (require 'emms-cache) + (eval-and-compile + (require 'emms-playlist-mode) + (require 'emms-info) + (require 'emms-info-mp3info) + (require 'emms-info-ogginfo) + (require 'emms-cache)) ;; setup (setq emms-playlist-default-major-mode 'emms-playlist-mode) (add-to-list 'emms-track-initialize-functions 'emms-info-initialize-track) @@ -121,17 +122,18 @@ on the edge." ;; include (emms-all) ;; define - (require 'emms-metaplaylist-mode) - (require 'emms-stream-info) - (require 'emms-score) - (require 'emms-last-played) - (require 'emms-bookmarks) - (require 'emms-history) - (require 'emms-mark) - (require 'emms-i18n) - (require 'emms-tag-editor) - (require 'emms-volume) - (require 'emms-playlist-limit) + (eval-and-compile + (require 'emms-metaplaylist-mode) + (require 'emms-stream-info) + (require 'emms-score) + (require 'emms-last-played) + (require 'emms-bookmarks) + (require 'emms-history) + (require 'emms-mark) + (require 'emms-i18n) + (require 'emms-tag-editor) + (require 'emms-volume) + (require 'emms-playlist-limit)) ;; setup (add-hook 'emms-player-started-hook 'emms-last-played-update-current) (emms-score 1) |