diff options
| author | Mattias EngdegÄrd | 2023-11-11 17:42:51 +0100 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2024-01-12 18:02:14 +0100 |
| commit | 0bc13945acb8d18bc18b5abc5c5cf9adebc46ca6 (patch) | |
| tree | 525fc699bafdfc81873570ce3635bd97f8fea359 /src | |
| parent | 3da324fbd3c7e8e282585ed617efe6ae740acf1a (diff) | |
| download | emacs-0bc13945acb8d18bc18b5abc5c5cf9adebc46ca6.tar.gz emacs-0bc13945acb8d18bc18b5abc5c5cf9adebc46ca6.zip | |
; * src/fns.c (collect_interval): Move misplaced function.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fns.c | 18 |
1 files changed, 9 insertions, 9 deletions
| @@ -4765,15 +4765,6 @@ check_mutable_hash_table (Lisp_Object obj, struct Lisp_Hash_Table *h) | |||
| 4765 | eassert (!PURE_P (h)); | 4765 | eassert (!PURE_P (h)); |
| 4766 | } | 4766 | } |
| 4767 | 4767 | ||
| 4768 | static void | ||
| 4769 | collect_interval (INTERVAL interval, Lisp_Object collector) | ||
| 4770 | { | ||
| 4771 | nconc2 (collector, | ||
| 4772 | list1(list3 (make_fixnum (interval->position), | ||
| 4773 | make_fixnum (interval->position + LENGTH (interval)), | ||
| 4774 | interval->plist))); | ||
| 4775 | } | ||
| 4776 | |||
| 4777 | /* Put an entry into hash table H that associates KEY with VALUE. | 4768 | /* Put an entry into hash table H that associates KEY with VALUE. |
| 4778 | HASH is a previously computed hash code of KEY. | 4769 | HASH is a previously computed hash code of KEY. |
| 4779 | Value is the index of the entry in H matching KEY. */ | 4770 | Value is the index of the entry in H matching KEY. */ |
| @@ -5198,6 +5189,15 @@ sxhash_obj (Lisp_Object obj, int depth) | |||
| 5198 | } | 5189 | } |
| 5199 | } | 5190 | } |
| 5200 | 5191 | ||
| 5192 | static void | ||
| 5193 | collect_interval (INTERVAL interval, Lisp_Object collector) | ||
| 5194 | { | ||
| 5195 | nconc2 (collector, | ||
| 5196 | list1(list3 (make_fixnum (interval->position), | ||
| 5197 | make_fixnum (interval->position + LENGTH (interval)), | ||
| 5198 | interval->plist))); | ||
| 5199 | } | ||
| 5200 | |||
| 5201 | 5201 | ||
| 5202 | 5202 | ||
| 5203 | /*********************************************************************** | 5203 | /*********************************************************************** |