(Fx_own_selection_internal): Follow error conventions.
authorJuanma Barranquero <lekktu@gmail.com>
Thu, 23 Jun 2005 16:20:05 +0000 (16:20 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Thu, 23 Jun 2005 16:20:05 +0000 (16:20 +0000)
src/ChangeLog
src/xselect.c

index ab6c74d..c1e40d5 100644 (file)
@@ -1,5 +1,20 @@
 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.
index 6c722d9..b0a2aee 100644 (file)
@@ -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;
 }