* lisp/international/emoji.el (emoji--name): Lookup name using 'char-to-name'.
* lisp/international/textsec.el (textsec-domain-suspicious-p): And here.
* lisp/simple.el (what-cursor-position): And here.
(cherry picked from commit
e4b243b931be8c2f605ce2bb6dbcda4edad7400f)
(defun emoji--name (glyph)
(or (gethash glyph emoji--names)
- (get-char-code-property (aref glyph 0) 'name)))
+ (char-to-name (aref glyph 0))))
(defvar-keymap emoji-list-mode-map
"RET" #'emoji-list-select
""
(concat ": " (string char)))
char
- (get-char-code-property char 'name)))))
+ (char-to-name char)))))
domain)
;; Does IDNA allow it?
(unless (puny-highly-restrictive-domain-p domain)
(interactive "P")
(let* ((char (following-char))
(char-name (and what-cursor-show-names
- (or (get-char-code-property char 'name)
- (get-char-code-property char 'old-name))))
+ (char-to-name char)))
(char-name-fmt (if char-name
(format ", %s" char-name)
""))