aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>2010-01-01 06:27:51 -0500
committerEli Zaretskii <[email protected]>2010-01-01 06:27:51 -0500
commitc143c213258b4dc980dab0629e571ff0c227fc34 (patch)
tree01977cfa7bda8a1b3e9cc260da29c7eda511ab84 /src/buffer.h
parentb44d9321f299626113e7b2e15371b20f7ad38892 (diff)
Retrospective commit from 2009-10-08.
Finish up working on paragraph's base direction. Start working on display of right-to-left glyph rows. Rewrite set_cursor_from_row to support bidi. xdisp.c (string_buffer_position_lim): New function. (string_buffer_position): Most of code moved to string_buffer_position_lim. Last argument and return value are now EMACS_INT; all callers changed. (set_cursor_from_row): Rewritten to support bidirectional text and reversed glyph rows. dispextern.h <string_buffer_position>: Update prototype. bidi.c (bidi_paragraph_init): Fix initialization of POS. dispextern.h (struct glyph_row): New member reversed_p. buffer.c (syms_of_buffer): Remove DEFVAR_LISP_NOPRO for default-direction-reversed, default-bidi-display-reordering, and default-paragraph-direction.
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 205bf86587..b3f131a46c 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -664,9 +664,9 @@ struct buffer
/* Non-nil means set beginning of lines at the right edge of
windows. */
Lisp_Object direction_reversed;
- /* If non-nil, specifies which direction of text to force in each
- paragraph. Nil means determine paragraph direction dynamically
- for each paragraph. */
+ /* If non-nil, specifies which direction of text to force in all the
+ paragraphs of the buffer. Nil means determine paragraph
+ direction dynamically for each paragraph. */
Lisp_Object paragraph_direction;
/* Non-nil means do selective display;
see doc string in syms_of_buffer (buffer.c) for details. */