diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-02-15 08:01:30 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-02-15 08:01:30 -0800 |
commit | 068f93723d37b441234e2315d6c168aeb2854540 (patch) | |
tree | 91c51ee31b9b6e4d38c5584c05e49cfafdcd688e /txr.c | |
parent | fd7012085f0fcd2ccf6e33be3e295b2a29dbd9d2 (diff) | |
download | txr-068f93723d37b441234e2315d6c168aeb2854540.tar.gz txr-068f93723d37b441234e2315d6c168aeb2854540.tar.bz2 txr-068f93723d37b441234e2315d6c168aeb2854540.zip |
txr-exe-path: New variable.
* txr.c (sysroot_init): Make prog_path available via the
txr-exe-path variable. The txr-path variable becomes
obsolescent.
* txr.1: Documented txr-exe-path; removed documentation
for txr-path.
Diffstat (limited to 'txr.c')
-rw-r--r-- | txr.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -318,6 +318,7 @@ static void sysroot_init(void) reg_varl(intern(lit("txr-version"), user_package), toint(lit(TXR_VER), nil)); reg_varl(intern(lit("txr-path"), user_package), prog_dir); + reg_varl(intern(lit("txr-exe-path"), user_package), prog_path); } static void sysroot_compat_fixup(int compat_ver) |