summaryrefslogtreecommitdiff
path: root/src/fringe.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2020-08-30 23:40:11 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2020-08-31 00:05:57 -0700
commit89350d4878aa850624a7fd5d36f981db840fa9af (patch)
tree2a39a0488e387706c1f5da390c0f6fbc7ea97878 /src/fringe.c
parent7e2f6f8448f9d98e90e0343e2aeba22a7985480f (diff)
downloademacs-89350d4878aa850624a7fd5d36f981db840fa9af.tar.gz
Use mark_objects elsewhere too
* src/alloc.c (mark_vectorlike, mark_face_cache): * src/eval.c (mark_specpdl): * src/fringe.c (mark_fringe_data): * src/keyboard.c (mark_kboards): Use mark_objects instead of doing it by hand.
Diffstat (limited to 'src/fringe.c')
-rw-r--r--src/fringe.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/fringe.c b/src/fringe.c
index c3d64fefc82..75496692d53 100644
--- a/src/fringe.c
+++ b/src/fringe.c
@@ -1733,11 +1733,7 @@ If nil, also continue lines which are exactly as wide as the window. */);
void
mark_fringe_data (void)
{
- int i;
-
- for (i = 0; i < max_fringe_bitmaps; i++)
- if (!NILP (fringe_faces[i]))
- mark_object (fringe_faces[i]);
+ mark_objects (fringe_faces, max_fringe_bitmaps);
}
/* Initialize this module when Emacs starts. */