From 5f026f84a9024305382eff2ee933088ad29088c3 Mon Sep 17 00:00:00 2001 From: Yoni Rabkin Date: Tue, 22 Apr 2014 14:09:44 -0400 Subject: * lisp/emms-streams.el: Use newer paradigm. --- lisp/emms-streams.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lisp') 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) -- cgit v1.2.3