summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Anaya <papoanaya@hotmail.com>2012-09-10 14:54:05 -0400
committerLuis Anaya <papoanaya@hotmail.com>2012-09-10 14:54:05 -0400
commit033abff4c083bdedb67f7cd50788c1611ed87557 (patch)
tree060dc16f0bb8610037962ee1a5309309cde131a4
parentf7f0445cc18be7fd14aca071ebb74da9a440f06b (diff)
downloadorg-mode-033abff4c083bdedb67f7cd50788c1611ed87557.tar.gz
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.
-rw-r--r--contrib/babel/langs/ob-tcl.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/babel/langs/ob-tcl.el b/contrib/babel/langs/ob-tcl.el
index ee0c98b..db2a7be 100644
--- a/contrib/babel/langs/ob-tcl.el
+++ b/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.