Skip to content
Snippets Groups Projects
Commit c0631f20 authored by pfdietz's avatar pfdietz
Browse files

~:C doesn't do the right thing on graphic chars relative to ~S

parent 43838026
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,9 @@
for c = (code-char i)
for s1 = (and c (format nil "#\\~:c" c))
for s2 = (and c (format nil "~S" c))
unless (or (null c) (eql c #\Space) (string= s1 s2))
unless (or (null c)
(graphic-char-p c)
(string= s1 s2))
do (incf count) and collect (list c s1 s2)
when (> count 100) collect "count limit exceeded" and do (loop-finish))))
nil)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment