From 2b38ed5f0703a4d37197a586737d772daa30a32d Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Mon, 3 Jul 2023 23:12:22 +0200 Subject: [PATCH] initialize tcl_files to empty in xschemrc to avoid side effects if reloading another xschemrc --- src/xschemrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xschemrc b/src/xschemrc index 3b7e91bb..437f6aa5 100644 --- a/src/xschemrc +++ b/src/xschemrc @@ -365,7 +365,8 @@ #### TCL FILES TO LOAD AT STARTUP ########################################################################### #### list of tcl files to preload. -# set tcl_files [list ${XSCHEM_SHAREDIR}/ngspice_backannotate.tcl] +set tcl_files {} +# lappend tcl_files [list ${XSCHEM_SHAREDIR}/ngspice_backannotate.tcl] # lappend tcl_files ${XSCHEM_SHAREDIR}/change_index.tcl # lappend tcl_files ....