Commit 4f40f5f6 authored by Tino Calancha's avatar Tino Calancha Committed by Paul Eggert

describe-char: fix insert char documentation

* lisp/descr-text.el (describe-char):
Only 'ucs-names' entries can be inserted by unicode name (Bug#23325).

Copyright-paperwork-exempt: yes
parent 87ee542f
......@@ -619,7 +619,7 @@ relevant to POS."
(let ((name
(or (get-char-code-property char 'name)
(get-char-code-property char 'old-name))))
(if name
(if (and name (assoc-string name (ucs-names)))
"type \"C-x 8 RET %x\" or \"C-x 8 RET %s\""
char name)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment