From fa148fc3c344022c1f4011a6c4da9441ae0849f6 Mon Sep 17 00:00:00 2001 From: Michael Olson Date: Tue, 25 Apr 2006 19:15:00 +0000 Subject: Rename with-widened-buffer to emms-with-widened-buffer. darcs-hash:20060425191558-1bfb2-7bbb4ba814a5a83a3bf6b7f839ec2b824def9ae8.gz --- emms.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emms.el b/emms.el index 61119d4..2df7d43 100644 --- a/emms.el +++ b/emms.el @@ -564,7 +564,7 @@ If no playlist exists, a new one is generated." (point-max))) (run-hooks 'emms-playlist-cleared-hook)) -(defmacro with-widened-buffer (&rest body) +(defmacro emms-with-widened-buffer (&rest body) `(save-restriction (widen) ,@body)) @@ -573,7 +573,7 @@ If no playlist exists, a new one is generated." (defun emms-playlist-track-at (&optional pos) "Return the track at POS (point if not given), or nil if none." (emms-playlist-ensure-playlist-buffer) - (with-widened-buffer + (emms-with-widened-buffer (get-text-property (or pos (point)) 'emms-track))) -- cgit v1.2.3