Commit 253b2298 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

(Fx_own_selection_internal): Follow error conventions.

parent 2010ba8c
2005-06-23 Juanma Barranquero <lekktu@gmail.com>
 
* abbrev.c (Funexpand_abbrev):
* category.c (Fmake_category_set):
* dispnew.c (Fsleep_for, Fsit_for):
* editfns.c (Fsubst_char_in_region):
* eval.c (Fdefvar, Fdefconst, Feval, Ffuncall):
* frame.c (make_frame_without_minibuffer):
* lread.c (read_vector):
* macfns.c (check_x_frame):
* process.c (Fstop_process, Fcontinue_process):
* search.c (Freplace_match):
* syntax.c (Fstring_to_syntax):
* w32fns.c (check_x_frame, check_x_display_info):
* xfaces.c (x_supports_face_attributes_p):
* xselect.c (Fx_own_selection_internal): Follow error conventions.
* image.c (fn_png_init_io): Don't define it.
(init_png_functions) [HAVE_NTGUI]: Don't initialize fn_png_init_io.
(png_read_from_file): New function, based on png_read_from_memory.
......
......@@ -2119,7 +2119,7 @@ anything that the functions on `selection-converter-alist' know about. */)
{
check_x ();
CHECK_SYMBOL (selection_name);
if (NILP (selection_value)) error ("selection-value may not be nil");
if (NILP (selection_value)) error ("SELECTION-VALUE may not be nil");
x_own_selection (selection_name, selection_value);
return selection_value;
}
......
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