Ver Fonte

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 há 12 anos atrás
pai
commit
033abff4c0
1 ficheiros alterados com 5 adições e 2 exclusões
  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.