From 4f40f5f63aaf2948a7b99c3a2eed0e50b2aa3a47 Mon Sep 17 00:00:00 2001 From: Tino Calancha Date: Sat, 23 Apr 2016 12:41:28 -0700 Subject: [PATCH] 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 --- lisp/descr-text.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/descr-text.el b/lisp/descr-text.el index a352ed0849c..5f1a4304342 100644 --- a/lisp/descr-text.el +++ b/lisp/descr-text.el @@ -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))) (format "type \"C-x 8 RET %x\" or \"C-x 8 RET %s\"" char name) -- 2.39.2