]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/xdisp.c (handle_fontified_prop): Fix BOB case.
authorGregory Heytings <gregory@heytings.org>
Fri, 29 Jul 2022 17:21:20 +0000 (19:21 +0200)
committerGregory Heytings <gregory@heytings.org>
Fri, 29 Jul 2022 17:21:20 +0000 (19:21 +0200)
src/xdisp.c

index cdef90b6868234bbf1ee6cb3323fac390d9fddf5..b1ee7889d46a9fb53ddf664b6850b993e1198d59 100644 (file)
@@ -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);