aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorMark Oteiza2017-08-31 17:22:39 -0400
committerMark Oteiza2017-08-31 17:22:39 -0400
commit96c2c098aeed5c85733577ebbdaf33af6fbb59e9 (patch)
treed80538fd4ed9047f29b07aeff40feffa6d464005 /etc
parente6a2b4c2df96ed8780ff407481a18e3f4299c8ad (diff)
downloademacs-96c2c098aeed5c85733577ebbdaf33af6fbb59e9.tar.gz
emacs-96c2c098aeed5c85733577ebbdaf33af6fbb59e9.zip
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.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 0889303f82e..d32b0e5bc89 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1155,6 +1155,9 @@ isn't compatible with previous Emacs versions. This functionality can
1155be disabled by setting 'byte-compile-cond-use-jump-table' to nil. 1155be disabled by setting 'byte-compile-cond-use-jump-table' to nil.
1156 1156
1157--- 1157---
1158** The alist 'ucs-names' is now a hash table.
1159
1160---
1158** 'C-up', 'C-down', 'C-left' and 'C-right' are now defined in term 1161** 'C-up', 'C-down', 'C-left' and 'C-right' are now defined in term
1159mode to send the same escape sequences that xterm does. This makes 1162mode to send the same escape sequences that xterm does. This makes
1160things like forward-word in readline work. 1163things like forward-word in readline work.