From: Gregory Heytings Date: Fri, 29 Jul 2022 17:21:20 +0000 (+0200) Subject: ; * src/xdisp.c (handle_fontified_prop): Fix BOB case. X-Git-Tag: emacs-29.0.90~1447^2~660 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4b5b447b7fab827c00fe97167b5c92c34b2f1ea3;p=emacs.git ; * src/xdisp.c (handle_fontified_prop): Fix BOB case. --- 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);