1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 20:30:32 -08:00

* src/editfns.c (Finsert_char): Make the error message more informative.

Fixes: debbugs:12992
This commit is contained in:
Chong Yidong 2012-12-08 19:05:39 +08:00
parent 63999a7dbe
commit 1b6dbfeb19
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2012-12-08 Chong Yidong <cyd@gnu.org>
* editfns.c (Finsert_char): Make the error message more
informative (Bug#12992).
2012-12-08 Paul Eggert <eggert@cs.ucla.edu>
Simplify get_lim_data.

View file

@ -2351,9 +2351,10 @@ usage: (insert-before-markers-and-inherit &rest ARGS) */)
}
DEFUN ("insert-char", Finsert_char, Sinsert_char, 1, 3,
"(list (read-char-by-name \"Insert character (Unicode name or hex): \")\
(prefix-numeric-value current-prefix-arg)\
t))",
"(list (or (read-char-by-name \"Insert character (Unicode name or hex): \")\
(error \"You did not specify a valid character\"))\
(prefix-numeric-value current-prefix-arg)\
t))",
doc: /* Insert COUNT copies of CHARACTER.
Interactively, prompt for CHARACTER. You can specify CHARACTER in one
of these ways: