From e01b65fd3d7c966d9deec17e807f03ee242dbf8f Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Sat, 16 Apr 2022 11:40:33 -0500 Subject: [PATCH] Fix some printing issues for docs. --- src/boot/boot.janet | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/boot/boot.janet b/src/boot/boot.janet index 845dc34e..5e08ef8b 100644 --- a/src/boot/boot.janet +++ b/src/boot/boot.janet @@ -145,7 +145,7 @@ (defmacro -- "Decrements the var x by 1." [x] ~(set ,x (,- ,x ,1))) (defmacro += "Increments the var x by n." [x n] ~(set ,x (,+ ,x ,n))) (defmacro -= "Decrements the var x by n." [x n] ~(set ,x (,- ,x ,n))) -(defmacro *= "Shorthand for (set x (* x n))." [x n] ~(set ,x (,* ,x ,n))) +(defmacro *= "Shorthand for (set x (\\* x n))." [x n] ~(set ,x (,* ,x ,n))) (defmacro /= "Shorthand for (set x (/ x n))." [x n] ~(set ,x (,/ ,x ,n))) (defmacro %= "Shorthand for (set x (% x n))." [x n] ~(set ,x (,% ,x ,n))) @@ -3155,9 +3155,9 @@ (def bindings (filter fltr (all-bindings))) (def dynamics (map describe (filter fltr (all-dynamics)))) (print) - (print (doc-format (string "Bindings:\n\n" (string/join bindings " ")))) + (print (doc-format (string "Bindings:\n\n" (string/join bindings " ")) nil nil false)) (print) - (print (doc-format (string "Dynamics:\n\n" (string/join dynamics " ")))) + (print (doc-format (string "Dynamics:\n\n" (string/join dynamics " ")) nil nil false)) (print "\n Use (doc sym) for more information on a binding.\n")) (defn- print-module-entry