aboutsummaryrefslogtreecommitdiffstats
path: root/src/dispextern.h
diff options
context:
space:
mode:
authorEli Zaretskii2010-09-18 13:59:53 +0200
committerEli Zaretskii2010-09-18 13:59:53 +0200
commitbea4f10c834af9eee873e16913897bbf8065b52e (patch)
tree78a59c0d087cb1c5f0f1e27baeaa557656b286ad /src/dispextern.h
parent88ed5ce8a653a870fd4f723ee550ffbb0f90626b (diff)
downloademacs-bea4f10c834af9eee873e16913897bbf8065b52e.tar.gz
emacs-bea4f10c834af9eee873e16913897bbf8065b52e.zip
Fix bug #7038 with cursor motion in paragraphs w/o strong characters.
xdisp.c (Fcurrent_bidi_paragraph_direction): Call bidi_paragraph_init with NO_DEFAULT_P non-zero. bidi.c (bidi_paragraph_init): Accept an additional argument NO_DEFAULT_P; all callers changed. If NO_DEFAULT_P is non-zero, search back until a paragraph with a strong directional character is found, and use that to determine paragraph's base direction. dispextern.h (bidi_paragraph_init): Update prototype.
Diffstat (limited to 'src/dispextern.h')
-rw-r--r--src/dispextern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispextern.h b/src/dispextern.h
index 5138958b6db..6fd92ba940d 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -2896,7 +2896,7 @@ extern EMACS_INT tool_bar_button_relief;
2896 2896
2897extern void bidi_init_it (EMACS_INT, EMACS_INT, struct bidi_it *); 2897extern void bidi_init_it (EMACS_INT, EMACS_INT, struct bidi_it *);
2898extern void bidi_move_to_visually_next (struct bidi_it *); 2898extern void bidi_move_to_visually_next (struct bidi_it *);
2899extern void bidi_paragraph_init (bidi_dir_t, struct bidi_it *); 2899extern void bidi_paragraph_init (bidi_dir_t, struct bidi_it *, int);
2900extern int bidi_mirror_char (int); 2900extern int bidi_mirror_char (int);
2901 2901
2902/* Defined in xdisp.c */ 2902/* Defined in xdisp.c */