moved package require tclreadline to tclspice_source.tcl

This commit is contained in:
stefanjones 2003-03-31 20:55:05 +00:00
parent c31c217ac5
commit 2a28d4a77a
2 changed files with 4 additions and 6 deletions

View File

@ -3,13 +3,10 @@ proc Loadspice { version dir } {
package require BLT
package require tclreadline
set suffix [info sharedlibextension]
set library spice${suffix}
global tcl_platform
if { $tcl_platform(platform) == "unix" } {
set library [file join $dir lib${library}]
@ -76,7 +73,7 @@ proc Loadspice { version dir } {
}
proc spice_init_gui { spicefile } {
source [ file join "%LIB_DIR%/spice/tclspice_source.tcl" ]
source "%LIB_DIR%/spice/tclspice_source.tcl"
#source "/usr/local/lib/spice/tclspice_source.tcl" ;#- only load procs when gui needed
spicewish::init_gui $spicefile
}

View File

@ -13,7 +13,8 @@ namespace eval spicewish {
#------------------------------------------------
# nutmeg extensions (eqivalent functions to nutmeg)
# (requires readline,
package require tclreadline
package require Tclx
#toplevel counters