diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-05-18 20:46:23 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-05-18 20:46:23 -0700 |
commit | a2d98ba063616fc56c6888641c77b55b562fc9ab (patch) | |
tree | 6cf3e0c8a338be5d222ba48b7ffd4ab6165e2960 /syslog.c | |
parent | dc791857cfd41fec131d2645409bf6451eb4635b (diff) | |
download | txr-a2d98ba063616fc56c6888641c77b55b562fc9ab.tar.gz txr-a2d98ba063616fc56c6888641c77b55b562fc9ab.tar.bz2 txr-a2d98ba063616fc56c6888641c77b55b562fc9ab.zip |
New feature: self-load-path symbol macro.
* eval.c (self_load_path_s): New symbol variable.
(sys_load): Save, set-up and restore self-load-path
around load.
(set_get_symacro): New function.
(eval_init): Register load function using sys_load_s instead
of redundant intern.
* eval.h (set_get_symacro): Declared.
* match.c (v_load): Save, set-up and restore self-load-path
macro.
* parser.c (load_rcfile): Likewise.
* txr.c (txr_main: Set up self-load-path when opening
file.
* txr.1: Documented self-load-path.
Diffstat (limited to 'syslog.c')
0 files changed, 0 insertions, 0 deletions