summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-11-25 22:44:51 -0800
committerKaz Kylheku <kaz@kylheku.com>2018-11-25 22:44:51 -0800
commitf057a56f9dc8e2a4ad77ecf26f6cf114812bf389 (patch)
tree01ba43429e0fba74d9622bc1a5d6bbea83e7458a /txr.1
parent04947ade734e0787d30c15da004a2a1d71a59402 (diff)
downloadtxr-f057a56f9dc8e2a4ad77ecf26f6cf114812bf389.tar.gz
txr-f057a56f9dc8e2a4ad77ecf26f6cf114812bf389.tar.bz2
txr-f057a56f9dc8e2a4ad77ecf26f6cf114812bf389.zip
print: keep colon in keyword syms
* lib.c (obj_print_impl): Always include leading colon when printing keyword symbols, regardless of pretty flag. Subject to backward compatibility. * txr.1: Compat note added.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.110
1 files changed, 9 insertions, 1 deletions
diff --git a/txr.1 b/txr.1
index 11f7ca4f..60220d3d 100644
--- a/txr.1
+++ b/txr.1
@@ -65505,7 +65505,15 @@ Up to \*(TX 202, the
function was incorrectly implemented, producing wrong results when both
arguments are the same fixnum integer, or the same bignum object.
The incorrect behavior is restored if 202 or earlier compatibility is
-requested.
+requested. After 202, the behavior of the
+.code print
+function changed with regard to symbols in the keyword package.
+Regardless of the
+.meta pretty-p
+flag, keywords are printed with the leading colon. Compatibility with
+202 or earlier restores the behavior that when the
+.meta pretty-p
+flag is true, symbols are printed without package prefixes.
.IP 199
After \*(TX 199, certain global variables that had been deprecated
for a long time, and no longer documented, were removed. Requesting 199 or