aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii2011-07-02 13:05:14 +0300
committerEli Zaretskii2011-07-02 13:05:14 +0300
commita2eaa31ddf8dabc71436dcb120ad7970a40045a4 (patch)
treedf11fc0eb04a1bf29f045efb190956a142b4269a /doc
parentf3014ef5b24ac42ec714b48148b7b604b47f7468 (diff)
downloademacs-a2eaa31ddf8dabc71436dcb120ad7970a40045a4.tar.gz
emacs-a2eaa31ddf8dabc71436dcb120ad7970a40045a4.zip
Fix the use case of popping from display property.
src/dispextern.h (struct iterator_stack_entry, struct it): New member from_disp_prop_p. src/xdisp.c (push_it, pop_it): Save and restore from_disp_prop_p. (handle_single_display_spec, push_display_prop): Set the from_disp_prop_p flag. (get_overlay_strings_1): Reset the from_disp_prop_p flag. (pop_it): Call iterate_out_of_display_property only if we are popping after iteration over a string that came from a display property. Fix a typo in popping stretch info. Add an assertion for verifying that the iterator position is in sync with the bidi iterator. (handle_single_display_spec, get_overlay_strings_1) (push_display_prop): Fix initialization of paragraph direction for string when that of the parent object is not yet determined.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog6
-rw-r--r--doc/lispref/display.texi3
2 files changed, 8 insertions, 1 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 7ef3be46b68..636054972af 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,9 @@
12011-07-02 Eli Zaretskii <eliz@gnu.org>
2
3 * display.texi (Other Display Specs): Document that `left-fringe'
4 and `right-fringe' display specifications are of the "replacing"
5 kind.
6
12011-05-06 Paul Eggert <eggert@cs.ucla.edu> 72011-05-06 Paul Eggert <eggert@cs.ucla.edu>
2 8
3 * numbers.texi (Integer Basics): Large integers are treated as floats. 9 * numbers.texi (Integer Basics): Large integers are treated as floats.
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 80a035aa346..6c5c8caa233 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -3893,7 +3893,8 @@ Margins}).
3893@itemx (right-fringe @var{bitmap} @r{[}@var{face}@r{]}) 3893@itemx (right-fringe @var{bitmap} @r{[}@var{face}@r{]})
3894This display specification on any character of a line of text causes 3894This display specification on any character of a line of text causes
3895the specified @var{bitmap} be displayed in the left or right fringes 3895the specified @var{bitmap} be displayed in the left or right fringes
3896for that line. The optional @var{face} specifies the colors to be 3896for that line, instead of the characters that have the display
3897specification. The optional @var{face} specifies the colors to be
3897used for the bitmap. @xref{Fringe Bitmaps}, for the details. 3898used for the bitmap. @xref{Fringe Bitmaps}, for the details.
3898 3899
3899@item (space-width @var{factor}) 3900@item (space-width @var{factor})