Skip to content

Commit

Permalink
Minor changes to UNICODE in AutoCAD 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
manualChair committed Jun 8, 2020
1 parent 53157be commit ea5bce1
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions characters/characterp.LSP
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@
(include 'plusp "./numbers/plusp")
(include 'multi-byte-char-p "./types/multibyte/multi-byte-char-p")

(defun characterp (item)
(or (plusp *LISPSYS*)
(and (integerp item) (<= 0 item) (<= item 255))
(multi-byte-char-p item)
)
(setq characterp (if (plusp *LISPSYS*)
integerp
(lambda (item)
(or (and (integerp item) (<= 0 item) (<= item 255))
(multi-byte-char-p item)
)
)
)
)

0 comments on commit ea5bce1

Please sign in to comment.