branch: elpa/mpv commit 705e81b8a62a5994cb0e8bd369c99cdc8378f220 Author: firmart <firminmarti...@gmail.com> Commit: firmart <firminmarti...@gmail.com>
Make mpv-version more verbose and update its docstring as suggested --- mpv.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mpv.el b/mpv.el index 6ac73e5271..5348c92c83 100644 --- a/mpv.el +++ b/mpv.el @@ -364,12 +364,14 @@ of \\[universal-argument] will add another `mpv-seek-step' seconds." ;;;###autoload (defun mpv-version () - "Return mpv version." + "Return the mpv version string. +When called interactively, also show a more verbose version in +the echo area." (interactive) - (let ((version (cadr (split-string (car (process-lines "mpv" "--version")))))) + (let ((version (cadr (split-string (car (process-lines mpv-executable "--version")))))) (prog1 version (if (called-interactively-p 'interactive) - (message "%s" version))))) + (message "mpv %s" version))))) (provide 'mpv) ;;; mpv.el ends here