mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-05 23:21:22 -08:00
Improve the textsec-domain-suspicious-p warning message
* lisp/international/textsec.el (textsec-domain-suspicious-p): Improve warning message.
This commit is contained in:
parent
ec5c723844
commit
10fbbddddd
1 changed files with 5 additions and 2 deletions
|
|
@ -245,8 +245,11 @@ or use certain other unusual mixtures of characters."
|
|||
(lambda (char)
|
||||
(when (eq (elt idna-mapping-table char) t)
|
||||
(throw 'found
|
||||
(format "Disallowed character: `%s' (#x%x, %s)"
|
||||
(bidi-string-strip-control-characters (string char))
|
||||
(format "Disallowed character%s (#x%x, %s)"
|
||||
(if (eq (get-char-code-property char 'general-category)
|
||||
'Cf)
|
||||
""
|
||||
(concat ": " (string char)))
|
||||
char
|
||||
(get-char-code-property char 'name)))))
|
||||
domain)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue