changeset 71832:e891eb992cb2

(general_insert_function): Remove loop around wrong_type_argument.
author Kim F. Storm <storm@cua.dk>
date Wed, 12 Jul 2006 13:16:32 +0000
parents 347f809d2edb
children 1b88c4bbacbc
files src/editfns.c
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/editfns.c	Wed Jul 12 13:16:13 2006 +0000
+++ b/src/editfns.c	Wed Jul 12 13:16:32 2006 +0000
@@ -2140,7 +2140,6 @@
   for (argnum = 0; argnum < nargs; argnum++)
     {
       val = args[argnum];
-    retry:
       if (INTEGERP (val))
 	{
 	  unsigned char str[MAX_MULTIBYTE_LENGTH];
@@ -2165,10 +2164,7 @@
 				      inherit);
 	}
       else
-	{
-	  val = wrong_type_argument (Qchar_or_string_p, val);
-	  goto retry;
-	}
+	wrong_type_argument (Qchar_or_string_p, val);
     }
 }