Minor indentation fixes.
This commit is contained in:
parent
b272c7880b
commit
3671178a35
2 changed files with 7 additions and 7 deletions
|
@ -14,7 +14,7 @@
|
|||
:cl-fad
|
||||
:cl-ppcre
|
||||
:closer-mop
|
||||
:cl-unicode)
|
||||
:cl-unicode)
|
||||
:serial t
|
||||
:components ((:file "packages")
|
||||
(:file "util")
|
||||
|
|
|
@ -27,14 +27,14 @@
|
|||
; use the first char of the general unicode category as kind of
|
||||
; hyper general category
|
||||
(let ((cat (aref (cl-unicode:general-category char) 0))
|
||||
(allowed-cats (list #\L #\N))) ; allowed Unicode categories in URLs
|
||||
(cond
|
||||
((member cat allowed-cats) t)
|
||||
((member char allowed-chars) t)
|
||||
(t nil))))
|
||||
(allowed-cats (list #\L #\N))) ; allowed Unicode categories in URLs
|
||||
(cond
|
||||
((member cat allowed-cats) t)
|
||||
((member char allowed-chars) t)
|
||||
(t nil))))
|
||||
|
||||
(defun unicode-space-p (char)
|
||||
"Determine if CHAR is a kind of whitespace by unicode category means"
|
||||
"Determine if CHAR is a kind of whitespace by unicode category means."
|
||||
(char= (aref (cl-unicode:general-category char) 0) #\Z))
|
||||
|
||||
(defun slugify (string)
|
||||
|
|
Loading…
Add table
Reference in a new issue