diff options
author | stardiviner <numbchild@gmail.com> | 2018-06-04 12:02:55 +0800 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2018-06-15 22:46:11 +0200 |
commit | dcf179663626872bae88ff36f58ad1c745f96b45 (patch) | |
tree | 11cbe411e41aa49a716cf7300f44944c79b7c06a | |
parent | b3981d6ad0a50c2f0706d94f67af7371a0af40ea (diff) | |
download | org-mode-dcf179663626872bae88ff36f58ad1c745f96b45.tar.gz |
ob-shell: Initialize header arguments for other shell names
* lisp/ob-shell.el (org-babel-shell-initialize) Initialize
org-babel-default-header-args: for shell names.
-rw-r--r-- | lisp/ob-shell.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ob-shell.el b/lisp/ob-shell.el index f7c6718..29086ac 100644 --- a/lisp/ob-shell.el +++ b/lisp/ob-shell.el @@ -57,7 +57,8 @@ is modified outside the Customize interface." 'org-babel-variable-assignments:shell ,(format "Return list of %s statements assigning to the block's \ variables." - name))))) + name))) + (eval `(defvar ,(intern (concat "org-babel-default-header-args:" name)) '())))) (defcustom org-babel-shell-names '("sh" "bash" "zsh" "fish" "csh" "ash" "dash" "ksh" "mksh" "posh") |