diff options
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 33 |
1 files changed, 23 insertions, 10 deletions
diff --git a/src/buffer.c b/src/buffer.c index 8657fd8cdff..35e1f4d22ec 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -5186,7 +5186,8 @@ init_buffer_once () | |||
| 5186 | buffer_defaults.truncate_lines = Qnil; | 5186 | buffer_defaults.truncate_lines = Qnil; |
| 5187 | buffer_defaults.word_wrap = Qnil; | 5187 | buffer_defaults.word_wrap = Qnil; |
| 5188 | buffer_defaults.ctl_arrow = Qt; | 5188 | buffer_defaults.ctl_arrow = Qt; |
| 5189 | buffer_defaults.direction_reversed = Qnil; | 5189 | buffer_defaults.enable_bidi_display = Qnil; |
| 5190 | buffer_defaults.orientation_reversed = Qnil; | ||
| 5190 | buffer_defaults.cursor_type = Qt; | 5191 | buffer_defaults.cursor_type = Qt; |
| 5191 | buffer_defaults.extra_line_spacing = Qnil; | 5192 | buffer_defaults.extra_line_spacing = Qnil; |
| 5192 | buffer_defaults.cursor_in_non_selected_windows = Qt; | 5193 | buffer_defaults.cursor_in_non_selected_windows = Qt; |
| @@ -5271,7 +5272,8 @@ init_buffer_once () | |||
| 5271 | XSETFASTINT (buffer_local_flags.syntax_table, idx); ++idx; | 5272 | XSETFASTINT (buffer_local_flags.syntax_table, idx); ++idx; |
| 5272 | XSETFASTINT (buffer_local_flags.cache_long_line_scans, idx); ++idx; | 5273 | XSETFASTINT (buffer_local_flags.cache_long_line_scans, idx); ++idx; |
| 5273 | XSETFASTINT (buffer_local_flags.category_table, idx); ++idx; | 5274 | XSETFASTINT (buffer_local_flags.category_table, idx); ++idx; |
| 5274 | XSETFASTINT (buffer_local_flags.direction_reversed, idx); ++idx; | 5275 | XSETFASTINT (buffer_local_flags.enable_bidi_display, idx); ++idx; |
| 5276 | XSETFASTINT (buffer_local_flags.orientation_reversed, idx); ++idx; | ||
| 5275 | XSETFASTINT (buffer_local_flags.buffer_file_coding_system, idx); | 5277 | XSETFASTINT (buffer_local_flags.buffer_file_coding_system, idx); |
| 5276 | /* Make this one a permanent local. */ | 5278 | /* Make this one a permanent local. */ |
| 5277 | buffer_permanent_local_flags[idx++] = 1; | 5279 | buffer_permanent_local_flags[idx++] = 1; |
| @@ -5528,10 +5530,15 @@ This is the same as (default-value 'abbrev-mode). */); | |||
| 5528 | doc: /* Default value of `ctl-arrow' for buffers that do not override it. | 5530 | doc: /* Default value of `ctl-arrow' for buffers that do not override it. |
| 5529 | This is the same as (default-value 'ctl-arrow). */); | 5531 | This is the same as (default-value 'ctl-arrow). */); |
| 5530 | 5532 | ||
| 5531 | DEFVAR_LISP_NOPRO ("default-direction-reversed", | 5533 | DEFVAR_LISP_NOPRO ("default-enable-bidi-display", |
| 5532 | &buffer_defaults.direction_reversed, | 5534 | &buffer_defaults.enable_bidi_display, |
| 5533 | doc: /* Default value of `direction-reversed' for buffers that do not override it. | 5535 | doc: /* *Default value of `enable-bidi-display' for buffers not overriding it. |
| 5534 | This is the same as (default-value 'direction-reversed). */); | 5536 | This is the same as (default-value 'enable-bidi-display). */); |
| 5537 | |||
| 5538 | DEFVAR_LISP_NOPRO ("default-orientation-reversed", | ||
| 5539 | &buffer_defaults.orientation_reversed, | ||
| 5540 | doc: /* *Default value of `orientation-reversed' for buffers that do not override it. | ||
| 5541 | This is the same as (default-value 'orientation-reversed). */); | ||
| 5535 | 5542 | ||
| 5536 | DEFVAR_LISP_NOPRO ("default-enable-multibyte-characters", | 5543 | DEFVAR_LISP_NOPRO ("default-enable-multibyte-characters", |
| 5537 | &buffer_defaults.enable_multibyte_characters, | 5544 | &buffer_defaults.enable_multibyte_characters, |
| @@ -5789,11 +5796,17 @@ The variable `coding-system-for-write', if non-nil, overrides this variable. | |||
| 5789 | 5796 | ||
| 5790 | This variable is never applied to a way of decoding a file while reading it. */); | 5797 | This variable is never applied to a way of decoding a file while reading it. */); |
| 5791 | 5798 | ||
| 5792 | DEFVAR_PER_BUFFER ("direction-reversed", ¤t_buffer->direction_reversed, | 5799 | DEFVAR_PER_BUFFER ("orientation-reversed", |
| 5793 | Qnil, | 5800 | ¤t_buffer->orientation_reversed, Qnil, |
| 5794 | doc: /* *Non-nil means lines in the buffer are displayed right to left. */); | 5801 | doc: /* Non-nil means set beginning of lines at the right end of the window. |
| 5802 | See also the variable `enable-bidi-display'. */); | ||
| 5803 | |||
| 5804 | DEFVAR_PER_BUFFER ("enable-bidi-display", | ||
| 5805 | ¤t_buffer->enable_bidi_display, Qnil, | ||
| 5806 | doc: /*Non-nil means display bidi text in correct visual order. | ||
| 5807 | See also the variable `orientation-reversed'. */); | ||
| 5795 | 5808 | ||
| 5796 | DEFVAR_PER_BUFFER ("truncate-lines", ¤t_buffer->truncate_lines, Qnil, | 5809 | DEFVAR_PER_BUFFER ("truncate-lines", ¤t_buffer->truncate_lines, Qnil, |
| 5797 | doc: /* *Non-nil means do not display continuation lines. | 5810 | doc: /* *Non-nil means do not display continuation lines. |
| 5798 | Instead, give each line of text just one screen line. | 5811 | Instead, give each line of text just one screen line. |
| 5799 | 5812 | ||