From: Mattias EngdegÄrd Date: Sat, 11 Nov 2023 16:42:51 +0000 (+0100) Subject: ; * src/fns.c (collect_interval): Move misplaced function. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0bc13945acb8d18bc18b5abc5c5cf9adebc46ca6;p=emacs.git ; * src/fns.c (collect_interval): Move misplaced function. --- diff --git a/src/fns.c b/src/fns.c index 4ce855827c9..33ee7c3d36e 100644 --- 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))); +} + /***********************************************************************