From 94c9dcecb2ba1d490087c4021002c6f77af63b3a Mon Sep 17 00:00:00 2001 From: Benson Chu Date: Fri, 29 Dec 2023 07:20:03 -0600 Subject: [PATCH] Might not necessarily be there (nixos) --- lisp/org-config/org-board-custom-dispatcher.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/org-config/org-board-custom-dispatcher.el b/lisp/org-config/org-board-custom-dispatcher.el index f2b19d2..751c5c6 100644 --- a/lisp/org-config/org-board-custom-dispatcher.el +++ b/lisp/org-config/org-board-custom-dispatcher.el @@ -30,7 +30,8 @@ added as a link in the `ARCHIVED_AT' property." options urls))) -(defvar youtube-dl-binary "/usr/bin/yt-dlp") +(defvar youtube-dl-binary + (executable-find "yt-dlp")) (defun org-board-dispatch-special (orig path directory args site) (cond