Subject: bug#23325: 25.0.92; insert-char: cannot find all chars if input is unicode name

From: Tino Calancha <[email-masked]>
Date: Fri, 22 Apr 2016 16:56:33 +0900 (JST)

> There is no need to refer to the variable ucs-names as the function uses
> it anyway.
Thank you.  Corrected in the attached new patch.

Cheers,
Tino

From 4c9b21e7a65cfc17f679906d9ebfa6ac9a11bedb Mon Sep 17 00:00:00 2001
From: Tino Calancha <[email-masked]>
Date: Fri, 22 Apr 2016 16:50:17 +0900
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).
---
 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 a352ed0..5f1a430 100644
--- a/lisp/descr-text.el
+++ b/lisp/descr-text.el
@@ -619,7 +619,7 @@ describe-char
                           (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.8.0.rc3