changeset 5521:3310f36295a0

Correct a couple of comments, remove a superfluous gcpro1, fns.c 2011-06-19 Aidan Kehoe <kehoea@parhasard.net> * fns.c: * fns.c (list_delete_duplicates_from_end): Correct a couple of comments in this file. * fns.c (sublis): Remove a superfluous gcpro1.
author Aidan Kehoe <kehoea@parhasard.net>
date Sun, 19 Jun 2011 16:53:03 +0100
parents 05c1ad4f7a7b
children 544e6336d37c
files src/ChangeLog src/fns.c
diffstat 2 files changed, 13 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun Jun 19 16:37:17 2011 +0100
+++ b/src/ChangeLog	Sun Jun 19 16:53:03 2011 +0100
@@ -1,3 +1,11 @@
+2011-06-19  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* fns.c:
+	* fns.c (list_delete_duplicates_from_end):
+	Correct a couple of comments in this file.
+	* fns.c (sublis):
+	Remove a superfluous gcpro1.
+
 2011-06-19  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* elhash.c (Feq_hash):
--- a/src/fns.c	Sun Jun 19 16:37:17 2011 +0100
+++ b/src/fns.c	Sun Jun 19 16:53:03 2011 +0100
@@ -718,7 +718,7 @@
 }
 
 /* Given PREDICATE and KEY, return a C function pointer appropriate for use
-   in deciding whether one given elements of a sequence is less than
+   in deciding whether one given element of a sequence is less than
    another. */
 
 static check_test_func_t
@@ -2058,8 +2058,8 @@
   return val;
 }
 
-/* Split STRING into a list of substrings.  The substrings are the
-   parts of original STRING separated by SEPCHAR.
+/* Split STRING into a list of substrings.  The substrings are the parts of
+   original STRING separated by SEPCHAR.
 
    If UNESCAPE is non-zero, ESCAPECHAR specifies a character that will quote
    SEPCHAR, and cause it not to split STRING. A double ESCAPECHAR is
@@ -3755,10 +3755,8 @@
 
   /* We can't delete (or remove) as we go, because that breaks START and
      END.  We could if END were nil, and that would change an ON(N + 2)
-     algorithm to an ON^2 algorithm; list_position_cons_before() would need to
-     be modified to return the cons *before* the one containing the item for
-     that.  Here and now it doesn't matter, though, #'delete-duplicates is
-     relatively expensive no matter what. */
+     algorithm to an ON^2 algorithm. Here and now it doesn't matter, though,
+     #'delete-duplicates is relatively expensive no matter what. */
   struct Lisp_Bit_Vector *deleting
     = (Lisp_Bit_Vector *) ALLOCA (sizeof (struct Lisp_Bit_Vector)
 				  + (sizeof (long)
@@ -9060,7 +9058,6 @@
 	Lisp_Object test, Lisp_Object key, int depth)
 {
   Lisp_Object keyed = KEY (key, tree), aa, dd;
-  struct gcpro gcpro1;
 
   if (depth + lisp_eval_depth > max_lisp_eval_depth)
     {