aboutsummaryrefslogtreecommitdiff
path: root/lisp/emms-streams.el
diff options
context:
space:
mode:
authorYoni Rabkin <yonirabkin@member.fsf.org>2014-04-22 14:09:44 -0400
committerYoni Rabkin <yonirabkin@member.fsf.org>2014-04-22 14:09:44 -0400
commit5f026f84a9024305382eff2ee933088ad29088c3 (patch)
treefecbd492ba3d247783a1dcccd68b0af4efcfec79 /lisp/emms-streams.el
parent31984d8868e09264271fb2dfb59bd207cb6816b2 (diff)
* lisp/emms-streams.el: Use newer paradigm.
Diffstat (limited to 'lisp/emms-streams.el')
-rw-r--r--lisp/emms-streams.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/emms-streams.el b/lisp/emms-streams.el
index 6bad605..0feee49 100644
--- a/lisp/emms-streams.el
+++ b/lisp/emms-streams.el
@@ -272,11 +272,8 @@ otherwise just remove the special bindings from the stream menu."
(remove-hook 'emms-pbi-manually-change-song-hook 'emms-pbi-popup-revert)
(let ((streambuffer (get-buffer emms-stream-buffer-name)))
(when streambuffer
- (save-excursion
- (set-buffer streambuffer)
- ;; (local-unset-key (kbd "q"))
+ (with-current-buffer streambuffer
(local-unset-key (kbd "TAB")))))
- ;; (local-unset-key (kbd "RET")))))
(when emms-stream-popup-old-conf
(set-window-configuration emms-stream-popup-old-conf))
(remove-hook 'emms-stream-play-hook 'emms-stream-popup-revert)