aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/editfns.c7
2 files changed, 8 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f9c629c1c56..24f32f141e9 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12012-12-21 Chong Yidong <cyd@gnu.org>
2
3 * editfns.c (Finsert_char): Since read-char-by-name now signals an
4 error for invalid chars, don't check for a nil return value.
5
12012-12-20 Dmitry Antipov <dmantipov@yandex.ru> 62012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
2 7
3 Avoid calls to CHAR_TO_BYTE if byte position is known. 8 Avoid calls to CHAR_TO_BYTE if byte position is known.
diff --git a/src/editfns.c b/src/editfns.c
index d7fe1c1c4c4..bb5cc437d9b 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -2361,10 +2361,9 @@ usage: (insert-before-markers-and-inherit &rest ARGS) */)
2361} 2361}
2362 2362
2363DEFUN ("insert-char", Finsert_char, Sinsert_char, 1, 3, 2363DEFUN ("insert-char", Finsert_char, Sinsert_char, 1, 3,
2364 "(list (or (read-char-by-name \"Insert character (Unicode name or hex): \")\ 2364 "(list (read-char-by-name \"Insert character (Unicode name or hex): \")\
2365 (error \"You did not specify a valid character\"))\ 2365 (prefix-numeric-value current-prefix-arg)\
2366 (prefix-numeric-value current-prefix-arg)\ 2366 t))",
2367 t))",
2368 doc: /* Insert COUNT copies of CHARACTER. 2367 doc: /* Insert COUNT copies of CHARACTER.
2369Interactively, prompt for CHARACTER. You can specify CHARACTER in one 2368Interactively, prompt for CHARACTER. You can specify CHARACTER in one
2370of these ways: 2369of these ways: