diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-01-09 19:41:11 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-01-09 19:41:11 +0100 |
commit | 8a5115cf18751022387af2085f374d38c60dde83 (patch) | |
tree | 626c3e93cd3127931c85e631d50d6ced1b5f6380 /runtime/doc/if_tcl.txt | |
parent | 5f24542e5eda590acdbee89b120fa2e19ec7596e (diff) | |
download | vim-git-8a5115cf18751022387af2085f374d38c60dde83.tar.gz |
patch 7.4.1070v7.4.1070
Problem: The Tcl interface can't be loaded dynamically on Unix.
Solution: Make it possible to load it dynamically. (Ken Takata)
Diffstat (limited to 'runtime/doc/if_tcl.txt')
-rw-r--r-- | runtime/doc/if_tcl.txt | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/runtime/doc/if_tcl.txt b/runtime/doc/if_tcl.txt index bc9d3b8e2..4d02233f0 100644 --- a/runtime/doc/if_tcl.txt +++ b/runtime/doc/if_tcl.txt @@ -515,12 +515,15 @@ startup file (usually "~/.vimrc" on Unix): ============================================================================== 9. Dynamic loading *tcl-dynamic* -On MS-Windows the Tcl library can be loaded dynamically. The |:version| -output then includes |+tcl/dyn|. +On MS-Windows and Unix the Tcl library can be loaded dynamically. The +|:version| output then includes |+tcl/dyn|. -This means that Vim will search for the Tcl DLL file only when needed. When -you don't use the Tcl interface you don't need it, thus you can use Vim -without this DLL file. +This means that Vim will search for the Tcl DLL or shared library file only +when needed. When you don't use the Tcl interface you don't need it, thus you +can use Vim without this file. + + +MS-Windows ~ To use the Tcl interface the Tcl DLL must be in your search path. In a console window type "path" to see what directories are used. @@ -529,5 +532,12 @@ The name of the DLL must match the Tcl version Vim was compiled with. Currently the name is "tcl86.dll". That is for Tcl 8.6. To know for sure edit "gvim.exe" and search for "tcl\d*.dll\c". + +Unix ~ + +The 'tcldll' option can be used to specify the Tcl shared library file instead +of DYNAMIC_TCL_DLL file what was specified at compile time. The version of +the shared library must match the Tcl version Vim was compiled with. + ============================================================================== vim:tw=78:ts=8:ft=help:norl: |