Revert "lisp/ob-shell.el: Initialize explicit-shell-file-name"

This reverts commit 0e2a9524dc.
This commit is contained in:
Matthew Trzcinski 2024-03-17 13:40:57 +01:00
parent d545ad6068
commit cb80019c28
1 changed files with 1 additions and 2 deletions

View File

@ -81,8 +81,7 @@ is modified outside the Customize interface."
(lambda (body params)
(:documentation
(format "Execute a block of %s commands with Babel." name))
(let ((explicit-shell-file-name name)
(shell-file-name name))
(let ((shell-file-name name))
(org-babel-execute:shell body params))))
(put fname 'definition-name 'org-babel-shell-initialize))
(defalias (intern (concat "org-babel-variable-assignments:" name))