aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoni Rabkin <yoni@rabkins.net>2018-06-26 11:36:44 -0400
committerYoni Rabkin <yoni@rabkins.net>2018-06-26 11:36:44 -0400
commit9f9a9b81f741692f2d188d1b46e72f2b6db8a9a1 (patch)
treeefa57fdf8ce047da5b9a087fb0d836acad3c00f3
parent94d26e10954765e079bde3c98d67ccb535b4c3a7 (diff)
* lisp/emms-player-mpv.el: change ipc file location
Daniel Kraus writes in with a one line fix: "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."
-rw-r--r--lisp/emms-player-mpv.el2
1 files changed, 1 insertions, 1 deletions
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