diff options
| author | Eli Zaretskii | 2010-01-01 06:57:39 -0500 |
|---|---|---|
| committer | Eli Zaretskii | 2010-01-01 06:57:39 -0500 |
| commit | 6c0cf21816887c8ea25c87bc526219752cf10a09 (patch) | |
| tree | 0dae82da36b419688319cbfb7242d5aead061e7b /src/buffer.c | |
| parent | 21fce5ab3669283e27cf8ec68905ea8778a73933 (diff) | |
| download | emacs-6c0cf21816887c8ea25c87bc526219752cf10a09.tar.gz emacs-6c0cf21816887c8ea25c87bc526219752cf10a09.zip | |
Retrospective commit from 2009-11-14.
Resurrect support for integer values of `cursor' property.
Rename paragraph-direction to bidi-paragraph-direction.
xdisp.c (init_iterator, text_outside_line_unchanged_p)
(try_window_id): Rename paragraph_direction to
bidi_paragraph_direction.
(set_cursor_from_row): Handle integer values of `cursor' property
on display strings.
buffer.c (init_buffer_once, syms_of_buffer): Rename
paragraph_direction to bidi_paragraph_direction.
buffer.h (struct buffer): Rename paragraph_direction to
bidi_paragraph_direction.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/buffer.c b/src/buffer.c index 0d9247eb61b..521fe9b5019 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -5188,7 +5188,7 @@ init_buffer_once () | |||
| 5188 | buffer_defaults.ctl_arrow = Qt; | 5188 | buffer_defaults.ctl_arrow = Qt; |
| 5189 | buffer_defaults.bidi_display_reordering = Qnil; | 5189 | buffer_defaults.bidi_display_reordering = Qnil; |
| 5190 | buffer_defaults.direction_reversed = Qnil; | 5190 | buffer_defaults.direction_reversed = Qnil; |
| 5191 | buffer_defaults.paragraph_direction = Qnil; | 5191 | buffer_defaults.bidi_paragraph_direction = Qnil; |
| 5192 | buffer_defaults.cursor_type = Qt; | 5192 | buffer_defaults.cursor_type = Qt; |
| 5193 | buffer_defaults.extra_line_spacing = Qnil; | 5193 | buffer_defaults.extra_line_spacing = Qnil; |
| 5194 | buffer_defaults.cursor_in_non_selected_windows = Qt; | 5194 | buffer_defaults.cursor_in_non_selected_windows = Qt; |
| @@ -5275,7 +5275,7 @@ init_buffer_once () | |||
| 5275 | XSETFASTINT (buffer_local_flags.category_table, idx); ++idx; | 5275 | XSETFASTINT (buffer_local_flags.category_table, idx); ++idx; |
| 5276 | XSETFASTINT (buffer_local_flags.bidi_display_reordering, idx); ++idx; | 5276 | XSETFASTINT (buffer_local_flags.bidi_display_reordering, idx); ++idx; |
| 5277 | XSETFASTINT (buffer_local_flags.direction_reversed, idx); ++idx; | 5277 | XSETFASTINT (buffer_local_flags.direction_reversed, idx); ++idx; |
| 5278 | XSETFASTINT (buffer_local_flags.paragraph_direction, idx); ++idx; | 5278 | XSETFASTINT (buffer_local_flags.bidi_paragraph_direction, idx); ++idx; |
| 5279 | XSETFASTINT (buffer_local_flags.buffer_file_coding_system, idx); | 5279 | XSETFASTINT (buffer_local_flags.buffer_file_coding_system, idx); |
| 5280 | /* Make this one a permanent local. */ | 5280 | /* Make this one a permanent local. */ |
| 5281 | buffer_permanent_local_flags[idx++] = 1; | 5281 | buffer_permanent_local_flags[idx++] = 1; |
| @@ -5798,8 +5798,8 @@ See also the variable `bidi-display-reordering'. */); | |||
| 5798 | doc: /* Non-nil means reorder bidirectional text for display in the visual order. | 5798 | doc: /* Non-nil means reorder bidirectional text for display in the visual order. |
| 5799 | See also the variable `direction-reversed'. */); | 5799 | See also the variable `direction-reversed'. */); |
| 5800 | 5800 | ||
| 5801 | DEFVAR_PER_BUFFER ("paragraph-direction", | 5801 | DEFVAR_PER_BUFFER ("bidi-paragraph-direction", |
| 5802 | ¤t_buffer->paragraph_direction, Qnil, | 5802 | ¤t_buffer->bidi_paragraph_direction, Qnil, |
| 5803 | doc: /* *If non-nil, forces directionality of text paragraphs in the buffer. | 5803 | doc: /* *If non-nil, forces directionality of text paragraphs in the buffer. |
| 5804 | 5804 | ||
| 5805 | If this is nil (the default), the direction of each paragraph is | 5805 | If this is nil (the default), the direction of each paragraph is |