]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/fns.c (collect_interval): Move misplaced function.
authorMattias Engdegård <mattiase@acm.org>
Sat, 11 Nov 2023 16:42:51 +0000 (17:42 +0100)
committerMattias Engdegård <mattiase@acm.org>
Fri, 12 Jan 2024 17:02:14 +0000 (18:02 +0100)
src/fns.c

index 4ce855827c951064914d40add95538a3ab08605a..33ee7c3d36e121c4b59970c01b606dc1401712d4 100644 (file)
--- a/src/fns.c
+++ b/src/fns.c
@@ -4765,15 +4765,6 @@ check_mutable_hash_table (Lisp_Object obj, struct Lisp_Hash_Table *h)
   eassert (!PURE_P (h));
 }
 
-static void
-collect_interval (INTERVAL interval, Lisp_Object collector)
-{
-  nconc2 (collector,
-         list1(list3 (make_fixnum (interval->position),
-                      make_fixnum (interval->position + LENGTH (interval)),
-                      interval->plist)));
-}
-
 /* Put an entry into hash table H that associates KEY with VALUE.
    HASH is a previously computed hash code of KEY.
    Value is the index of the entry in H matching KEY.  */
@@ -5198,6 +5189,15 @@ sxhash_obj (Lisp_Object obj, int depth)
     }
 }
 
+static void
+collect_interval (INTERVAL interval, Lisp_Object collector)
+{
+  nconc2 (collector,
+         list1(list3 (make_fixnum (interval->position),
+                      make_fixnum (interval->position + LENGTH (interval)),
+                      interval->plist)));
+}
+
 
 \f
 /***********************************************************************