From 253b22986e1746dbf91d233ee85883df5f2cef01 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Thu, 23 Jun 2005 16:20:05 +0000 Subject: [PATCH] (Fx_own_selection_internal): Follow error conventions. --- src/ChangeLog | 15 +++++++++++++++ src/xselect.c | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index ab6c74d8638..c1e40d59441 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,20 @@ 2005-06-23 Juanma Barranquero + * 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. diff --git a/src/xselect.c b/src/xselect.c index 6c722d9d02c..b0a2aee92ec 100644 --- a/src/xselect.c +++ b/src/xselect.c @@ -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; } -- 2.39.2