diff options
| author | Stefan Monnier | 2014-06-06 10:25:39 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2014-06-06 10:25:39 -0400 |
| commit | 28b83297264341b404856fd6e96dd366fa0c1fd0 (patch) | |
| tree | 2b279a0942a3975812951b13fe2831227135c6e3 | |
| parent | b83798031cae6d1297ae5746aebb34cca16c6ac9 (diff) | |
| download | emacs-28b83297264341b404856fd6e96dd366fa0c1fd0.tar.gz emacs-28b83297264341b404856fd6e96dd366fa0c1fd0.zip | |
* lisp/international/mule-cmds.el (ucs-names): Add special entry for BEL.
Fixes: debbugs:17702
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/international/mule-cmds.el | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3b5df032e9c..77b1585dcbe 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * international/mule-cmds.el (ucs-names): Add special entry for BEL | ||
| 4 | (bug#17702). | ||
| 5 | |||
| 1 | 2014-06-06 Glenn Morris <rgm@gnu.org> | 6 | 2014-06-06 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * startup.el (window-setup-hook): Doc fix. | 8 | * startup.el (window-setup-hook): Doc fix. |
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index f83e64e3921..0a2f09029da 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el | |||
| @@ -2945,7 +2945,10 @@ on encoding." | |||
| 2945 | (if (setq name (get-char-code-property c 'name)) | 2945 | (if (setq name (get-char-code-property c 'name)) |
| 2946 | (push (cons name c) names)) | 2946 | (push (cons name c) names)) |
| 2947 | (setq c (1+ c)))) | 2947 | (setq c (1+ c)))) |
| 2948 | (setq ucs-names names)))) | 2948 | ;; Special case for "BELL" which is apparently the only char which |
| 2949 | ;; doesn't have a new name and whose old-name is shadowed by a newer | ||
| 2950 | ;; char with that name. | ||
| 2951 | (setq ucs-names `(("BELL (BEL)" . 7) ,@names))))) | ||
| 2949 | 2952 | ||
| 2950 | (defun read-char-by-name (prompt) | 2953 | (defun read-char-by-name (prompt) |
| 2951 | "Read a character by its Unicode name or hex number string. | 2954 | "Read a character by its Unicode name or hex number string. |