diff options
author | Michael Olson <mwolson@gnu.org> | 2006-04-25 19:15:00 +0000 |
---|---|---|
committer | Michael Olson <mwolson@gnu.org> | 2006-04-25 19:15:00 +0000 |
commit | fa148fc3c344022c1f4011a6c4da9441ae0849f6 (patch) | |
tree | 006b8b3bec87962aed1fb45c28841233c50b9446 | |
parent | e707bd9a77d7ed676cf8da92415318505532b7cf (diff) |
Rename with-widened-buffer to emms-with-widened-buffer.
darcs-hash:20060425191558-1bfb2-7bbb4ba814a5a83a3bf6b7f839ec2b824def9ae8.gz
-rw-r--r-- | emms.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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))) |