bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#39662: 28.0.50; Emacs crashes in x_cr_define_fringe_bitmap if (fring


From: Robert Pluim
Subject: bug#39662: 28.0.50; Emacs crashes in x_cr_define_fringe_bitmap if (fringe-mode 0)
Date: Wed, 19 Feb 2020 09:59:21 +0100


On Wed, 19 Feb 2020, 04:27 Eli Zaretskii, <address@hidden> wrote:
I thought in the scenario we are discussing there will be no bitmaps
shown at all, since the scenario disables the fringes.  Isn't that so?

If the user turns fringe-mode back on, diff-hl will use the previously created bitmaps, which will be width 1 if define-fringe-bitmap decides to use that instead of zero, or will crash if x_cr_define_fringe_bitmap does not define the bitmap when width == 0

Maybe signaling an error is best :-)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]