]> code.delx.au - gnu-emacs/commitdiff
* 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 08a4025132306d86ab3cc6115aa5ab0799696134..f104a4dfe3a7b5514e6623d419fdf3802bed0b00 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 b3f78780bd3a0cf9dd78751daf9eb001a8ed1f90..2aea0a962154a2ede4ccb5fb21751d420c008f4b 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