Fix display when left-fringe/right-fringe display spec is invalid.
commit82f9b393c551853b1bea9d32ab834e1999070ab2
authorEli Zaretskii <eliz@gnu.org>
Fri, 11 May 2012 14:05:06 +0000 (11 17:05 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 11 May 2012 14:05:06 +0000 (11 17:05 +0300)
tree0a987c2c47c0b87a2b1bc9fa6361425472f66f41
parentd9d1dfefe13b0f0a5f5402ab57bf8d22cd040486
Fix display when left-fringe/right-fringe display spec is invalid.

 src/xdisp.c (handle_single_display_spec): Return 1 for left-margin
 and right-margin display specs even if the spec is invalid or we
 are on a TTY, and thus unable to display on the fringes.  That's
 because the text with the property will not be displayed anyway,
 so we need to signal to the caller that this is a "replacing"
 display spec.  This fixes display when the spec is invalid or we
 are on a TTY.
src/ChangeLog
src/xdisp.c