better default scite path

db4
Doug Coleman 2008-12-04 13:53:03 -06:00
parent 9172a3ae27
commit f5bafbb2a9
1 changed files with 4 additions and 1 deletions

View File

@ -14,7 +14,10 @@ IN: editors.scite
: scite-path ( -- path )
\ scite-path get-global [
program-files "wscite\\SciTE.exe" append-path
program-files "ScITE Source Code Editor\\SciTE.exe" append-path
dup exists? [
drop program-files "wscite\\SciTE.exe" append-path
] unless
] unless* ;
: scite-command ( file line -- cmd )