diff options
Diffstat (limited to '.config/emacs/modules/bd--files.el')
-rw-r--r-- | .config/emacs/modules/bd--files.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/emacs/modules/bd--files.el b/.config/emacs/modules/bd--files.el index 712b2c8..bef4f07 100644 --- a/.config/emacs/modules/bd--files.el +++ b/.config/emacs/modules/bd--files.el @@ -31,7 +31,7 @@ (defun bd/zathura (file) "Open FILE with zathura" (interactive) - (start-process (concat "zathura (" (file-name-base file) ")") nil "zathura" file)) + (start-process (concat "zathura (" (file-name-base file) ")") nil "zathura" (expand-file-name file))) (defun bd/pdf-find-file-wrapper (f &rest args) "Wrapper around F (find-file), passing ARGS." @@ -46,7 +46,7 @@ ;; video (defun bd/mpv (file) "Open FILE with mpv" - (start-process (concat "mpv (" (file-name-base file) ")") nil "mpv" "--force-window=yes" file)) + (start-process (concat "mpv (" (file-name-base file) ")") nil "mpv" "--force-window=yes" (expand-file-name file))) (defun bd/video-find-file-wrapper (f &rest args) "Wrapper around F (find-file), passing ARGS." |