diff options
author | Michael Olson <mwolson@gnu.org> | 2009-08-05 08:07:03 -0700 |
---|---|---|
committer | Michael Olson <mwolson@gnu.org> | 2009-08-05 08:07:03 -0700 |
commit | 2c1c56d553df6ee1973134fdb90543454b1146ca (patch) | |
tree | 24c99ac1faa709960a83a5922ddcd176ea4082e3 /lisp/emms-player-mpd.el | |
parent | 8176350744ebefe066478bfc3de9a00e34261b77 (diff) |
Introduce emms-insert-file-contents.
This function is a safe way to insert the contents of a file without
triggering major mode detection, and has been tested on several versions
of Emacs and XEmacs.
Diffstat (limited to 'lisp/emms-player-mpd.el')
-rw-r--r-- | lisp/emms-player-mpd.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emms-player-mpd.el b/lisp/emms-player-mpd.el index 539dce6..fa8f911 100644 --- a/lisp/emms-player-mpd.el +++ b/lisp/emms-player-mpd.el @@ -775,7 +775,7 @@ Execute CALLBACK with CLOSURE as its first argument when done. This handles both m3u and pls type playlists." ;; This is useful for playlists of playlists (with-temp-buffer - (insert-file-contents playlist) + (emms-insert-file-contents playlist) (emms-player-mpd-add-buffer-contents (current-buffer) closure callback))) (defun emms-player-mpd-add-streamlist (url closure callback) |