diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-02-12 08:35:34 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-02-12 08:35:34 -0800 |
commit | 12a36f6e2ec49ca158a0af730743345699a116e2 (patch) | |
tree | 2bf09adea0fa370f3a5edf56ee0864f741571db5 /txr.1 | |
parent | f97f2187e2dd72eec034f6a9b7f93e4174a4c24b (diff) | |
download | txr-12a36f6e2ec49ca158a0af730743345699a116e2.tar.gz txr-12a36f6e2ec49ca158a0af730743345699a116e2.tar.bz2 txr-12a36f6e2ec49ca158a0af730743345699a116e2.zip |
New listener variable: *listener-pprint-s*.
* parser.c (listener_pprint_s): New symbol variable.
(repl): Check new variable after each evaluation and print
accordingly.
(parse_init): Initialize listener_print_s with interned symbol
and register the variable.
* txr.1: Document *listener-pprint-s*.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -62500,6 +62500,27 @@ that the selection is determined by the starting and ending character, and includes them. This type of selection pairs well with a block-shaped cursor. +.coNP Special variable @ *listener-pprint-p* +.desc +This Boolean variable controls how the listener prints the results +of evaluations. +It is +.code nil +by default. + +When the variable is +.codn nil , +the evaluation result of each line entered into the listener is printed +using the +.code prinl +function. Thus values are rendered in a machine-readable syntax, ensuing +read/print consistency. + +If the variable is set true, the evaluation result of each line is printed +using the +.code pprinl +function. + .SH* SETUID/SETGID OPERATION On platforms with the Unix filesystem and process security model, \*(TX has |