diff src/callint.c @ 173:8eaf7971accc r20-3b13

Import from CVS: tag r20-3b13
author cvs
date Mon, 13 Aug 2007 09:49:09 +0200
parents 15872534500d
children 9ad43877534d
line wrap: on
line diff
--- a/src/callint.c	Mon Aug 13 09:47:55 2007 +0200
+++ b/src/callint.c	Mon Aug 13 09:49:09 2007 +0200
@@ -183,7 +183,7 @@
   if (NILP (tem) || (XBUFFER (tem) != current_buffer))
     error ("The mark is not set now");
 
-  return (marker_position (current_buffer->mark));
+  return marker_position (current_buffer->mark);
 }
 
 static Lisp_Object
@@ -196,7 +196,7 @@
   /* Fformat no longer smashes its arg vector, so no need to copy it. */
   
   if (!strchr ((char *) XSTRING_DATA (s), '%'))
-    return (s);
+    return s;
   GCPRO1 (s);
   RETURN_UNGCPRO (emacs_doprnt_string_lisp (0, s, 0, nargs, args));
 }
@@ -243,11 +243,12 @@
 
   if (!NILP (keys))
     {
-      int i;
+      int i, len;
 
       CHECK_VECTOR (keys);
-      for (i = 0; i < vector_length (XVECTOR (keys)); i++)
-	CHECK_LIVE_EVENT (vector_data (XVECTOR (keys))[i]);
+      len = XVECTOR_LENGTH (keys);
+      for (i = 0; i < len; i++)
+	CHECK_LIVE_EVENT (XVECTOR_DATA (keys)[i]);
     }
 
   /* Save this now, since use of minibuffer will clobber it. */
@@ -330,7 +331,7 @@
       if (EQ (record_flag, Qlambda)) /* XEmacs addition */
 	{
 	  UNGCPRO;
-	  return (specs);
+	  return specs;
 	}
       if (!NILP (record_flag) || i != num_input_chars)
 	{
@@ -504,7 +505,7 @@
     {
       /* Interactive function or no arguments; just call it */
       if (EQ (record_flag, Qlambda))
-	return (Qnil);
+	return Qnil;
       if (!NILP (record_flag))
 	{
 	  Vcommand_history = Fcons (list1 (function), Vcommand_history);
@@ -520,7 +521,7 @@
       }
       if (set_zmacs_region_stays)
 	zmacs_region_stays = 1;
-      return (unbind_to (speccount, fun));
+      return unbind_to (speccount, fun);
     }
 
   /* Read interactive arguments */
@@ -928,7 +929,7 @@
     UNGCPRO;
     if (set_zmacs_region_stays)
       zmacs_region_stays = 1;
-    return (unbind_to (speccount, fun));
+    return unbind_to (speccount, fun);
   }
 }
 
@@ -952,7 +953,7 @@
   else
     val = 1;
 
-  return (make_int (val));
+  return make_int (val);
 
 }