Commit 1b6dbfeb authored by Chong Yidong's avatar Chong Yidong

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

Fixes: debbugs:12992
parent 63999a7d
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.
......
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment