changeset 30601:7c995a54a0e8

Replace `illegal' with `invalid'.
author Gerd Moellmann <gerd@gnu.org>
date Sat, 05 Aug 2000 15:47:13 +0000
parents 9b2f75bbc0f9
children 4f195cb24338
files src/w32fns.c src/xfaces.c src/xfns.c
diffstat 3 files changed, 17 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32fns.c	Sat Aug 05 08:25:09 2000 +0000
+++ b/src/w32fns.c	Sat Aug 05 15:47:13 2000 +0000
@@ -1939,7 +1939,7 @@
   else if (NATNUMP (new_value))
     f->extra_line_spacing = XFASTINT (new_value);
   else
-    Fsignal (Qerror, Fcons (build_string ("Illegal line-spacing"),
+    Fsignal (Qerror, Fcons (build_string ("Invalid line-spacing"),
 			    Fcons (new_value, Qnil)));
   if (FRAME_VISIBLE_P (f))
     redraw_frame (f);
@@ -1960,7 +1960,7 @@
     /* The value 0.4545 is the normal viewing gamma.  */
     f->gamma = 1.0 / (0.4545 * XFLOATINT (new_value));
   else
-    Fsignal (Qerror, Fcons (build_string ("Illegal screen-gamma"),
+    Fsignal (Qerror, Fcons (build_string ("Invalid screen-gamma"),
 			    Fcons (new_value, Qnil)));
 
   clear_face_cache (0);
--- a/src/xfaces.c	Sat Aug 05 08:25:09 2000 +0000
+++ b/src/xfaces.c	Sat Aug 05 15:47:13 2000 +0000
@@ -3107,14 +3107,14 @@
 		  if (STRINGP (value))
 		    to[LFACE_FAMILY_INDEX] = value;
 		  else
-		    add_to_log ("Illegal face font family", value, Qnil);
+		    add_to_log ("Invalid face font family", value, Qnil);
 		}
 	      else if (EQ (keyword, QCheight))
 		{
 		  if (INTEGERP (value))
 		    to[LFACE_HEIGHT_INDEX] = value;
 		  else
-		    add_to_log ("Illegal face font height", value, Qnil);
+		    add_to_log ("Invalid face font height", value, Qnil);
 		}
 	      else if (EQ (keyword, QCweight))
 		{
@@ -3122,7 +3122,7 @@
 		      && face_numeric_weight (value) >= 0)
 		    to[LFACE_WEIGHT_INDEX] = value;
 		  else
-		    add_to_log ("Illegal face weight", value, Qnil);
+		    add_to_log ("Invalid face weight", value, Qnil);
 		}
 	      else if (EQ (keyword, QCslant))
 		{
@@ -3130,7 +3130,7 @@
 		      && face_numeric_slant (value) >= 0)
 		    to[LFACE_SLANT_INDEX] = value;
 		  else
-		    add_to_log ("Illegal face slant", value, Qnil);
+		    add_to_log ("Invalid face slant", value, Qnil);
 		}
 	      else if (EQ (keyword, QCunderline))
 		{
@@ -3139,7 +3139,7 @@
 		      || STRINGP (value))
 		    to[LFACE_UNDERLINE_INDEX] = value;
 		  else
-		    add_to_log ("Illegal face underline", value, Qnil);
+		    add_to_log ("Invalid face underline", value, Qnil);
 		}
 	      else if (EQ (keyword, QCoverline))
 		{
@@ -3148,7 +3148,7 @@
 		      || STRINGP (value))
 		    to[LFACE_OVERLINE_INDEX] = value;
 		  else
-		    add_to_log ("Illegal face overline", value, Qnil);
+		    add_to_log ("Invalid face overline", value, Qnil);
 		}
 	      else if (EQ (keyword, QCstrike_through))
 		{
@@ -3157,7 +3157,7 @@
 		      || STRINGP (value))
 		    to[LFACE_STRIKE_THROUGH_INDEX] = value;
 		  else
-		    add_to_log ("Illegal face strike-through", value, Qnil);
+		    add_to_log ("Invalid face strike-through", value, Qnil);
 		}
 	      else if (EQ (keyword, QCbox))
 		{
@@ -3169,7 +3169,7 @@
 		      || NILP (value))
 		    to[LFACE_BOX_INDEX] = value;
 		  else
-		    add_to_log ("Illegal face box", value, Qnil);
+		    add_to_log ("Invalid face box", value, Qnil);
 		}
 	      else if (EQ (keyword, QCinverse_video)
 		       || EQ (keyword, QCreverse_video))
@@ -3177,21 +3177,21 @@
 		  if (EQ (value, Qt) || NILP (value))
 		    to[LFACE_INVERSE_INDEX] = value;
 		  else
-		    add_to_log ("Illegal face inverse-video", value, Qnil);
+		    add_to_log ("Invalid face inverse-video", value, Qnil);
 		}
 	      else if (EQ (keyword, QCforeground))
 		{
 		  if (STRINGP (value))
 		    to[LFACE_FOREGROUND_INDEX] = value;
 		  else
-		    add_to_log ("Illegal face foreground", value, Qnil);
+		    add_to_log ("Invalid face foreground", value, Qnil);
 		}
 	      else if (EQ (keyword, QCbackground))
 		{
 		  if (STRINGP (value))
 		    to[LFACE_BACKGROUND_INDEX] = value;
 		  else
-		    add_to_log ("Illegal face background", value, Qnil);
+		    add_to_log ("Invalid face background", value, Qnil);
 		}
 	      else if (EQ (keyword, QCstipple))
 		{
@@ -3200,7 +3200,7 @@
 		  if (!NILP (pixmap_p))
 		    to[LFACE_STIPPLE_INDEX] = value;
 		  else
-		    add_to_log ("Illegal face stipple", value, Qnil);
+		    add_to_log ("Invalid face stipple", value, Qnil);
 #endif
 		}
 	      else if (EQ (keyword, QCwidth))
@@ -3209,7 +3209,7 @@
 		      && face_numeric_swidth (value) >= 0)
 		    to[LFACE_SWIDTH_INDEX] = value;
 		  else
-		    add_to_log ("Illegal face width", value, Qnil);
+		    add_to_log ("Invalid face width", value, Qnil);
 		}
 	      else
 		add_to_log ("Invalid attribute %s in face property",
--- a/src/xfns.c	Sat Aug 05 08:25:09 2000 +0000
+++ b/src/xfns.c	Sat Aug 05 15:47:13 2000 +0000
@@ -1307,7 +1307,7 @@
   else if (NATNUMP (new_value))
     f->extra_line_spacing = XFASTINT (new_value);
   else
-    Fsignal (Qerror, Fcons (build_string ("Illegal line-spacing"),
+    Fsignal (Qerror, Fcons (build_string ("Invalid line-spacing"),
 			    Fcons (new_value, Qnil)));
   if (FRAME_VISIBLE_P (f))
     redraw_frame (f);
@@ -1328,7 +1328,7 @@
     /* The value 0.4545 is the normal viewing gamma.  */
     f->gamma = 1.0 / (0.4545 * XFLOATINT (new_value));
   else
-    Fsignal (Qerror, Fcons (build_string ("Illegal screen-gamma"),
+    Fsignal (Qerror, Fcons (build_string ("Invalid screen-gamma"),
 			    Fcons (new_value, Qnil)));
 
   clear_face_cache (0);