diff options
Diffstat (limited to 'src/buffer.h')
| -rw-r--r-- | src/buffer.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/buffer.h b/src/buffer.h index e700297a264..e71ffe28045 100644 --- a/src/buffer.h +++ b/src/buffer.h | |||
| @@ -566,6 +566,11 @@ struct buffer | |||
| 566 | /* A list of tree-sitter parsers for this buffer. */ | 566 | /* A list of tree-sitter parsers for this buffer. */ |
| 567 | Lisp_Object ts_parser_list_; | 567 | Lisp_Object ts_parser_list_; |
| 568 | #endif | 568 | #endif |
| 569 | |||
| 570 | /* What type of text conversion the input method should apply to | ||
| 571 | this buffer. */ | ||
| 572 | Lisp_Object text_conversion_style_; | ||
| 573 | |||
| 569 | /* Cursor type to display in non-selected windows. | 574 | /* Cursor type to display in non-selected windows. |
| 570 | t means to use hollow box cursor. | 575 | t means to use hollow box cursor. |
| 571 | See `cursor-type' for other values. */ | 576 | See `cursor-type' for other values. */ |
| @@ -842,6 +847,12 @@ bset_width_table (struct buffer *b, Lisp_Object val) | |||
| 842 | b->width_table_ = val; | 847 | b->width_table_ = val; |
| 843 | } | 848 | } |
| 844 | 849 | ||
| 850 | INLINE void | ||
| 851 | bset_text_conversion_style (struct buffer *b, Lisp_Object val) | ||
| 852 | { | ||
| 853 | b->text_conversion_style_ = val; | ||
| 854 | } | ||
| 855 | |||
| 845 | /* BUFFER_CEILING_OF (resp. BUFFER_FLOOR_OF), when applied to n, return | 856 | /* BUFFER_CEILING_OF (resp. BUFFER_FLOOR_OF), when applied to n, return |
| 846 | the max (resp. min) p such that | 857 | the max (resp. min) p such that |
| 847 | 858 | ||