From 1cdac8ef6a917e27b679b686f3a984b12e6c5ee0 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Thu, 24 Nov 2022 09:47:55 +0800 Subject: [PATCH] * lisp/ob-eval.el (org-babel--get-shell-file-name): Update fixme --- lisp/ob-eval.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ob-eval.el b/lisp/ob-eval.el index 17e10703a..f57566079 100644 --- a/lisp/ob-eval.el +++ b/lisp/ob-eval.el @@ -159,7 +159,8 @@ This buffer is named by `org-babel-error-buffer-name'." "Return system `shell-file-name', defaulting to /bin/sh. Unfortunately, `executable-find' does not support file name handlers. Therefore, we could use it in the local case only." - ;; FIXME: This is generic enough that it should probably be in emacs, not org-mode + ;; FIXME: Since Emacs 27, `executable-find' accepts optional second + ;; argument supporting remote hosts. (cond ((and (not (file-remote-p default-directory)) (executable-find shell-file-name)) shell-file-name)