Daniel Kraus
2018-06-26 14:30:08 UTC
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
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