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-history.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-history.el')
-rw-r--r-- | lisp/emms-history.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emms-history.el b/lisp/emms-history.el index 7526e87..feba6c7 100644 --- a/lisp/emms-history.el +++ b/lisp/emms-history.el @@ -112,7 +112,7 @@ Emacs." (file-exists-p emms-history-file)) (let (history buf) (with-temp-buffer - (insert-file-contents emms-history-file) + (emms-insert-file-contents emms-history-file) (setq history (read (current-buffer))) (dolist (playlist (cadr history)) (with-current-buffer (emms-playlist-new (car playlist)) |