projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c45e8b
)
* lisp/international/mule-cmds.el (mule--ucs-names-group): Better char check.
author
Juri Linkov
<juri@linkov.net>
Tue, 25 May 2021 20:55:13 +0000
(23:55 +0300)
committer
Juri Linkov
<juri@linkov.net>
Tue, 25 May 2021 20:55:13 +0000
(23:55 +0300)
lisp/international/mule-cmds.el
patch
|
blob
|
history
diff --git
a/lisp/international/mule-cmds.el
b/lisp/international/mule-cmds.el
index 432ca295d64d2f3247c376311035743d8a0b8d38..55accf5beee86aba5a945756f81e9597121fbd2e 100644
(file)
--- a/
lisp/international/mule-cmds.el
+++ b/
lisp/international/mule-cmds.el
@@
-3107,7
+3107,8
@@
on encoding."
(defun mule--ucs-names-group (name transform)
(if transform
name
- (let ((script (aref char-script-table (gethash name ucs-names))))
+ (let* ((char (gethash name ucs-names))
+ (script (and char (aref char-script-table char))))
(if script (symbol-name script) "ungrouped"))))
(defun char-from-name (string &optional ignore-case)