summaryrefslogtreecommitdiffstats
path: root/parser.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-09-18 06:48:03 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-09-18 06:48:03 -0700
commitf73367555810f19906e659622c3677eaa9cce59b (patch)
tree335ab65c46bfca2bd26cdb78bc0acd350767f3d9 /parser.c
parent1c11d63f020a1a6f2e20064027246cb55800f89f (diff)
downloadtxr-f73367555810f19906e659622c3677eaa9cce59b.tar.gz
txr-f73367555810f19906e659622c3677eaa9cce59b.tar.bz2
txr-f73367555810f19906e659622c3677eaa9cce59b.zip
Set the tempfile suffix.
* parser.c (repl): Configure the .tl suffix in the linenoise object.
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/parser.c b/parser.c
index e0bf0c69..7e29cce7 100644
--- a/parser.c
+++ b/parser.c
@@ -594,6 +594,7 @@ val repl(val bindings, val in_stream, val out_stream)
reg_varl(result_hash_sym, result_hash);
lino_set_completion_cb(ls, provide_completions, 0);
+ lino_set_tempfile_suffix(ls, ".tl");
if (histfile)
lino_hist_load(ls, histfile_u8);