emms-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [emms-help] [PATCH] lisp/emms-player-mpv.el: Use emms-directory for


From: Yoni Rabkin
Subject: Re: [emms-help] [PATCH] lisp/emms-player-mpv.el: Use emms-directory for mpv ipc socket file
Date: Tue, 26 Jun 2018 11:38:34 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Daniel Kraus <address@hidden> writes:

> Don't litter mpv ipc files in the users emacs home directory
> but put it it emms folder where all other emms related files are.
> ---
>  lisp/emms-player-mpv.el | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lisp/emms-player-mpv.el b/lisp/emms-player-mpv.el
> index 3cbdd26..2cee864 100644
> --- a/lisp/emms-player-mpv.el
> +++ b/lisp/emms-player-mpv.el
> @@ -117,7 +117,7 @@ support for various feedback and metadata options from 
> mpv."
>    :group 'emms-player-mpv)
>
>  (defcustom emms-player-mpv-ipc-socket
> -  (expand-file-name (locate-user-emacs-file "emms-player-mpv-ipc.sock"))
> +  (concat (file-name-as-directory emms-directory) "mpv-ipc.sock" )
>    "Unix IPC socket or FIFO to use with mpv --input-* options,
>  depending on `emms-player-mpv-ipc-method' value and/or mpv version."
>    :type 'file
> --
> 2.18.0

commited

thank you

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]