From 4b5b447b7fab827c00fe97167b5c92c34b2f1ea3 Mon Sep 17 00:00:00 2001 From: Gregory Heytings Date: Fri, 29 Jul 2022 19:21:20 +0200 Subject: [PATCH] ; * src/xdisp.c (handle_fontified_prop): Fix BOB case. --- src/xdisp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xdisp.c b/src/xdisp.c index cdef90b6868..b1ee7889d46 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -4415,6 +4415,7 @@ handle_fontified_prop (struct it *it) if (charpos < begv || charpos > zv) { begv = get_narrowed_begv (it->w, charpos); + if (!begv) begv = BEGV; zv = get_narrowed_zv (it->w, charpos); } Fnarrow_to_region (make_fixnum (begv), make_fixnum (zv), Qt); -- 2.39.2