Browse Source

Changed `org-babel-tcl-command' from a defvar to a defcustom.

* ob-tcl.el (org-babel-tcl-command):
Changed `org-babel-tcl-command' from a defvar to a defcustom.
Luis Anaya 7 years ago
parent
commit
033abff4c0
1 changed files with 5 additions and 2 deletions
  1. 5 2
      contrib/babel/langs/ob-tcl.el

+ 5 - 2
contrib/babel/langs/ob-tcl.el

@@ -38,8 +38,11 @@
 
 (defvar org-babel-default-header-args:tcl nil)
 
-(defvar org-babel-tcl-command "tclsh"
-  "Name of command to use for executing tcl code.")
+(defcustom org-babel-tcl-command "tclsh"
+"Name of command to use for executing Tcl code."
+  :group 'org-babel
+  :type 'string)
+
 
 (defun org-babel-execute:tcl (body params)
   "Execute a block of Tcl code with Babel.