mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-21 06:55:35 +00:00
ob-shell: Fix header arg definitions for specific shells
* lisp/ob-shell.el (org-babel-shell-initialize): Assign default value from `org-babel-default-header-args:shell' and `org-babel-header-args:shell' for specific shell variables. Reported-by: Suhail Singh <suhailsingh247@gmail.com> Link: https://orgmode.org/list/87frtczgu6.fsf@gmail.com
This commit is contained in:
parent
165319f584
commit
e666660c7d
@ -92,10 +92,10 @@ variables."
|
||||
name))
|
||||
(funcall (if (fboundp 'defvar-1) #'defvar-1 #'set) ;Emacs-29
|
||||
(intern (concat "org-babel-default-header-args:" name))
|
||||
nil)
|
||||
org-babel-default-header-args:shell)
|
||||
(funcall (if (fboundp 'defvar-1) #'defvar-1 #'set) ;Emacs-29
|
||||
(intern (concat "org-babel-header-args:" name))
|
||||
nil)))
|
||||
org-babel-header-args:shell)))
|
||||
|
||||
(defcustom org-babel-shell-names
|
||||
'("sh" "bash" "zsh" "fish" "csh" "ash" "dash" "ksh" "mksh" "posh")
|
||||
|
Loading…
Reference in New Issue
Block a user