(handle_invisible_prop): After setting up an ellipsis, return HANDLED_RETURN.

This commit is contained in:
Richard M. Stallman 2007-10-09 01:32:25 +00:00
parent 93870ce2ab
commit ec406436ee
3 changed files with 9 additions and 10 deletions

View file

@ -85,16 +85,6 @@ Report by Sebastien Rocca Serra <sroccaserra@gmail.com> on emacs-devel
from 2007-08-30. martin rudalics has a potential patch.
http://lists.gnu.org/archive/html/emacs-devel/2007-08/msg01632.html
** GNU NT-Emacs crashes with longlines-mode and outline-mode
Reported by Rainer Thiel <r.thiel@uni-jena.de> on emacs-pretest-bug
from 2007-09-22.
http://lists.gnu.org/archive/html/emacs-devel/2007-09/msg01996.html
Jason Rumney has a recipe for reproducing this on GNU/Linux:
http://lists.gnu.org/archive/html/emacs-devel/2007-09/msg02267.html
Minimum cause: "It occurs when the character before the display
property is replaced with an ellipsis"
http://lists.gnu.org/archive/html/emacs-devel/2007-10/msg00046.html
* FIXES FOR EMACS 22.3
Here we list any small fixes that arrived too late for Emacs 22.2, but

View file

@ -1,3 +1,8 @@
2007-10-09 Richard Stallman <rms@gnu.org>
* xdisp.c (handle_invisible_prop): After setting up an ellipsis,
return HANDLED_RETURN.
2007-10-06 Martin Rudalics <rudalics@gmx.at>
* keyboard.c (kbd_buffer_get_event): Break loop waiting for input

View file

@ -3719,6 +3719,10 @@ handle_invisible_prop (it)
it->position.bytepos = CHAR_TO_BYTE (it->position.charpos);
}
setup_for_ellipsis (it, 0);
/* Let the ellipsis display before
considering any properties of the following char.
Fixes jasonr@gnu.org 01 Oct 07 bug. */
handled = HANDLED_RETURN;
}
}
}