summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2024-10-23 22:38:34 -0400
committerbd <bdunahu@operationnull.com>2024-10-23 22:38:34 -0400
commit2fdb56a981ac4779e3fa26c8e4996b61c5d6ec63 (patch)
treef7c7d2c0a53d2cc0cd69246259b062e26f059ee9 /.config
parent613bb0b65c63340ca92fcb1bad16c902db412ae5 (diff)
dired mpv/zathura---expand-file-name to avoid failures
Diffstat (limited to '.config')
-rw-r--r--.config/emacs/modules/bd--files.el4
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."