summaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2010-01-01 09:57:27 -0500
committerEli Zaretskii <eliz@gnu.org>2010-01-01 09:57:27 -0500
commitbc5a45f315808b1d7335bdc9ea0168b89782c101 (patch)
tree28bdf150710bb625327f9ec36ed74407e4627da6 /src/buffer.c
parente69a937075490a19d1b767e166d10f0e838b4173 (diff)
downloademacs-bc5a45f315808b1d7335bdc9ea0168b89782c101.tar.gz
Retrospective commit from 2009-1219.
Fix reordering of Arabic text in etc/HELLO. Extend .gdbinit commands to support bidirectional display. buffer.c (Fbuffer_swap_text): Swap the values of bidi_display_reordering and bidi_paragraph_direction. bidi.c (bidi_resolve_weak): Fix nesting of conditions for Wn processing. Move W3 after W1 and W2. Simplify W4 because it is now always after W1. .gdbinit (pbiditype): New command. (pgx): Use it to display bidi level and type of the glyph.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 521fe9b5019..ce9dc1c274d 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -2261,6 +2261,8 @@ DEFUN ("buffer-swap-text", Fbuffer_swap_text, Sbuffer_swap_text,
swapfield (undo_list, Lisp_Object);
swapfield (mark, Lisp_Object);
swapfield (enable_multibyte_characters, Lisp_Object);
+ swapfield (bidi_display_reordering, Lisp_Object);
+ swapfield (bidi_paragraph_direction, Lisp_Object);
/* FIXME: Not sure what we should do with these *_marker fields.
Hopefully they're just nil anyway. */
swapfield (pt_marker, Lisp_Object);