* lisp/descr-text.el (describe-char): Display the script.
authorYE Qianchuan <stool.ye@gmail.com>
Wed, 13 Feb 2013 14:54:59 +0000 (09:54 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 13 Feb 2013 14:54:59 +0000 (09:54 -0500)
Fixes: debbugs:13698

lisp/ChangeLog
lisp/descr-text.el

index 08a4025..f104a4d 100644 (file)
@@ -1,3 +1,7 @@
+2013-02-13  YE Qianchuan  <stool.ye@gmail.com>  (tiny change)
+
+       * descr-text.el (describe-char): Display the script (bug#13698).
+
 2013-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * tmm.el: Use lexical-binding and current-active-maps.
index b3f7878..2aea0a9 100644 (file)
@@ -574,6 +574,9 @@ relevant to POS."
                         'help-echo
                         "mouse-2, RET: show this character in its character set")
                     str)))
+              ,@(let ((script (aref char-script-table char)))
+                  (if script
+                      (list (list "script" (symbol-name script)))))
               ("syntax"
                ,(let ((syntax (syntax-after pos)))
                   (with-temp-buffer