Kierin Bell <[email protected]> writes:

> lisp/emms-playlist-mode.el (emms-playlist-mode-go): Do not run
> `emms-playlist-mode' when `major-mode' is `emms-mark-mode'.
> ---
> This is a patch for another bug that causes `emms-playlist-mode-go' to 
> disable emms-mark-mode, which is not what users would probably expect.
>
>  emms-playlist-mode.el | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/emms-playlist-mode.el b/emms-playlist-mode.el
> index 9b1f047..cae985e 100644
> --- a/emms-playlist-mode.el
> +++ b/emms-playlist-mode.el
> @@ -510,7 +510,7 @@ When NO-NEWLINE is non-nil, do not insert a newline after 
> the track."
>         (not (buffer-live-p emms-playlist-buffer)))
>        (error "No current Emms buffer")
>      (switch-to-buffer emms-playlist-buffer)
> -    (when (and (not (eq major-mode 'emms-playlist-mode))
> +    (when (and (not (member major-mode '(emms-playlist-mode emms-mark-mode)))
>              emms-playlist-buffer-p)
>        (emms-playlist-mode))
>      (when emms-playlist-mode-center-when-go

Patched as well; thank you again.

Your name has been added to the AUTHORS file.

-- 
   "Cut your own wood and it will warm you twice"

Reply via email to