diff options
| author | Mark Oteiza | 2017-08-31 17:22:39 -0400 |
|---|---|---|
| committer | Mark Oteiza | 2017-08-31 17:22:39 -0400 |
| commit | 96c2c098aeed5c85733577ebbdaf33af6fbb59e9 (patch) | |
| tree | d80538fd4ed9047f29b07aeff40feffa6d464005 /etc | |
| parent | e6a2b4c2df96ed8780ff407481a18e3f4299c8ad (diff) | |
| download | emacs-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -1155,6 +1155,9 @@ isn't compatible with previous Emacs versions. This functionality can | |||
| 1155 | be disabled by setting 'byte-compile-cond-use-jump-table' to nil. | 1155 | be 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 |
| 1159 | mode to send the same escape sequences that xterm does. This makes | 1162 | mode to send the same escape sequences that xterm does. This makes |
| 1160 | things like forward-word in readline work. | 1163 | things like forward-word in readline work. |