]> git.eshelyaron.com Git - emacs.git/commit
Make ucs-names a hash table (Bug#28302)
authorMark Oteiza <mvoteiza@udel.edu>
Thu, 31 Aug 2017 21:22:39 +0000 (17:22 -0400)
committerMark Oteiza <mvoteiza@udel.edu>
Thu, 31 Aug 2017 21:22:39 +0000 (17:22 -0400)
commit96c2c098aeed5c85733577ebbdaf33af6fbb59e9
treed80538fd4ed9047f29b07aeff40feffa6d464005
parente6a2b4c2df96ed8780ff407481a18e3f4299c8ad
Make ucs-names a hash table (Bug#28302)

* etc/NEWS: Mention the type change.
* lisp/descr-text.el (describe-char): Use gethash to access ucs-names.
Hardcode BEL's name into the function instead of needlessly mapping
over the hash table in the spirit of rassoc.
* lisp/international/mule-cmds.el (ucs-names): Fix variable and
function docstrings.  Initialize a hash table for ucs-names--the
number of entries is 42845 here.  Switch to hash-table
getters/setters.
(mule--ucs-names-annotation): Use hash-table getter.
(char-from-name): Upcase the string if ignore-case is truthy.
* lisp/leim/quail/latin-ltx.el: Use maphash instead of dolist.
etc/NEWS
lisp/descr-text.el
lisp/international/mule-cmds.el
lisp/leim/quail/latin-ltx.el