diff options
| author | Stefan Monnier | 2013-01-08 11:51:11 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2013-01-08 11:51:11 -0500 |
| commit | 63a63bd4346fb2c0d5382ae37b515cdbd33fbf17 (patch) | |
| tree | 1e51c3fd14b8ca479d9d3c8d47701e40637e437e | |
| parent | a731fc1bb01f3c0c8eb2ca24a1c5cd7cd7373059 (diff) | |
| download | emacs-63a63bd4346fb2c0d5382ae37b515cdbd33fbf17.tar.gz emacs-63a63bd4346fb2c0d5382ae37b515cdbd33fbf17.zip | |
* src/keyboard.c (echo_add_key): Rename from echo_add_char.
| -rw-r--r-- | src/ChangeLog | 20 | ||||
| -rw-r--r-- | src/keyboard.c | 6 |
2 files changed, 15 insertions, 11 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3b0b295e695..f5dacabd130 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * keyboard.c (echo_add_key): Rename from echo_add_char. | ||
| 4 | |||
| 1 | 2013-01-06 Chong Yidong <cyd@gnu.org> | 5 | 2013-01-06 Chong Yidong <cyd@gnu.org> |
| 2 | 6 | ||
| 3 | * keyboard.c (echo_add_char): New function, factored out from | 7 | * keyboard.c (echo_add_char): New function, factored out from |
| @@ -11,8 +15,8 @@ | |||
| 11 | 15 | ||
| 12 | * xdisp.c (dump_glyph): Align glyph data better. Use "pD" instead | 16 | * xdisp.c (dump_glyph): Align glyph data better. Use "pD" instead |
| 13 | of a non-portable "t" to print ptrdiff_t values. Allow up to 9 | 17 | of a non-portable "t" to print ptrdiff_t values. Allow up to 9 |
| 14 | digits for buffer positions, before misalignment starts. Display | 18 | digits for buffer positions, before misalignment starts. |
| 15 | "0" for integer "object" field. | 19 | Display "0" for integer "object" field. |
| 16 | (dump_glyph_row): Adapt the header line to changes in dump_glyph. | 20 | (dump_glyph_row): Adapt the header line to changes in dump_glyph. |
| 17 | Display the newline glyph more unambiguously. | 21 | Display the newline glyph more unambiguously. |
| 18 | 22 | ||
| @@ -53,8 +57,8 @@ | |||
| 53 | 2012-12-31 Eli Zaretskii <eliz@gnu.org> | 57 | 2012-12-31 Eli Zaretskii <eliz@gnu.org> |
| 54 | 58 | ||
| 55 | * w32.c (unsetenv): Set up the string passed to _putenv | 59 | * w32.c (unsetenv): Set up the string passed to _putenv |
| 56 | correctly. See | 60 | correctly. |
| 57 | http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00863.html | 61 | See http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00863.html |
| 58 | for the bug this caused. | 62 | for the bug this caused. |
| 59 | 63 | ||
| 60 | 2012-12-30 Paul Eggert <eggert@cs.ucla.edu> | 64 | 2012-12-30 Paul Eggert <eggert@cs.ucla.edu> |
| @@ -126,8 +130,8 @@ | |||
| 126 | 130 | ||
| 127 | 2012-12-27 Eli Zaretskii <eliz@gnu.org> | 131 | 2012-12-27 Eli Zaretskii <eliz@gnu.org> |
| 128 | 132 | ||
| 129 | * fileio.c (file_name_as_directory, directory_file_name): Accept | 133 | * fileio.c (file_name_as_directory, directory_file_name): |
| 130 | an additional argument MULTIBYTE to indicate whether the input C | 134 | Accept an additional argument MULTIBYTE to indicate whether the input C |
| 131 | came from a multibyte or a unibyte Lisp string; all callers | 135 | came from a multibyte or a unibyte Lisp string; all callers |
| 132 | adjusted. Don't assume the input string is always multibyte. | 136 | adjusted. Don't assume the input string is always multibyte. |
| 133 | (Bug#13262) | 137 | (Bug#13262) |
| @@ -211,8 +215,8 @@ | |||
| 211 | * w32.c (sys_close): Do not call delete_child on a subprocess | 215 | * w32.c (sys_close): Do not call delete_child on a subprocess |
| 212 | whose handle is not yet closed. Instead, set its file descriptor | 216 | whose handle is not yet closed. Instead, set its file descriptor |
| 213 | to a negative value, so that reap_subprocess will call | 217 | to a negative value, so that reap_subprocess will call |
| 214 | delete_child on that subprocess when its SIGCHLD arrives. This | 218 | delete_child on that subprocess when its SIGCHLD arrives. |
| 215 | avoids closing handles used for communications between sys_select | 219 | This avoids closing handles used for communications between sys_select |
| 216 | and reader_thread, which doesn't give sys_select a chance to | 220 | and reader_thread, which doesn't give sys_select a chance to |
| 217 | notice that the process exited and invoke the SIGCHLD handler for | 221 | notice that the process exited and invoke the SIGCHLD handler for |
| 218 | it. | 222 | it. |
diff --git a/src/keyboard.c b/src/keyboard.c index bc55eed1f5c..14aecd00e90 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -502,7 +502,7 @@ kset_system_key_syms (struct kboard *kb, Lisp_Object val) | |||
| 502 | printed. */ | 502 | printed. */ |
| 503 | 503 | ||
| 504 | static void | 504 | static void |
| 505 | echo_add_char (Lisp_Object c) | 505 | echo_add_key (Lisp_Object c) |
| 506 | { | 506 | { |
| 507 | int size = KEY_DESCRIPTION_SIZE + 100; | 507 | int size = KEY_DESCRIPTION_SIZE + 100; |
| 508 | char *buffer = alloca (size); | 508 | char *buffer = alloca (size); |
| @@ -586,7 +586,7 @@ echo_char (Lisp_Object c) | |||
| 586 | { | 586 | { |
| 587 | if (current_kboard->immediate_echo) | 587 | if (current_kboard->immediate_echo) |
| 588 | { | 588 | { |
| 589 | echo_add_char (c); | 589 | echo_add_key (c); |
| 590 | echo_now (); | 590 | echo_now (); |
| 591 | } | 591 | } |
| 592 | } | 592 | } |
| @@ -9227,7 +9227,7 @@ read_key_sequence (Lisp_Object *keybuf, int bufsize, Lisp_Object prompt, | |||
| 9227 | && NILP (Fzerop (Vecho_keystrokes)) | 9227 | && NILP (Fzerop (Vecho_keystrokes)) |
| 9228 | && current_kboard->immediate_echo) | 9228 | && current_kboard->immediate_echo) |
| 9229 | { | 9229 | { |
| 9230 | echo_add_char (key); | 9230 | echo_add_key (key); |
| 9231 | echo_dash (); | 9231 | echo_dash (); |
| 9232 | } | 9232 | } |
| 9233 | } | 9233 | } |