Raymond Toy pushed to branch master at cmucl / cmucl
Commits:
-
ee8f24b5
by Raymond Toy at 2024-06-09T15:21:54+00:00
-
1fd8f251
by Raymond Toy at 2024-06-09T15:22:08+00:00
1 changed file:
Changes:
| ... | ... | @@ -495,7 +495,8 @@ |
| 495 | 495 | (cond ((<= (char-code #\a) m (char-code #\z))
|
| 496 | 496 | (code-char (logxor m #x20)))
|
| 497 | 497 | #+(and unicode (not unicode-bootstrap))
|
| 498 | - ((> m +ascii-limit+) (code-char (unicode-title m)))
|
|
| 498 | + ((> m lisp::+ascii-limit+)
|
|
| 499 | + (code-char (lisp::unicode-title m)))
|
|
| 499 | 500 | (t char))))
|
| 500 | 501 | |
| 501 | 502 | (defun title-case-p (char)
|
| ... | ... | @@ -503,9 +504,9 @@ |
| 503 | 504 | argument is a title-case character, NIL otherwise."
|
| 504 | 505 | (declare (character char))
|
| 505 | 506 | (let ((m (char-code char)))
|
| 506 | - (or (<= (code-char #\A) m (code-char #\Z))
|
|
| 507 | + (or (<= (char-code #\A) m (char-code #\Z))
|
|
| 507 | 508 | #+(and unicode (not unicode-bootstrap))
|
| 508 | - (and (> m +ascii-limit+)
|
|
| 509 | + (and (> m lisp::+ascii-limit+)
|
|
| 509 | 510 | (= (unicode-category m) +unicode-category-title+)))))
|
| 510 | 511 | |
| 511 | 512 | (defun string-capitalize-unicode (string &key (start 0) end (casing :simple))
|
| ... | ... | @@ -561,7 +562,7 @@ |
| 561 | 562 | (let* ((string (if (stringp string) string (string string)))
|
| 562 | 563 | (slen (length string)))
|
| 563 | 564 | (declare (fixnum slen))
|
| 564 | - (with-one-string string start end offset
|
|
| 565 | + (lisp::with-one-string string start end offset
|
|
| 565 | 566 | (let ((offset-slen (+ slen offset))
|
| 566 | 567 | (newstring (make-string slen)))
|
| 567 | 568 | (declare (fixnum offset-slen))
|