diff options
Diffstat (limited to 'src/buffer.h')
| -rw-r--r-- | src/buffer.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/buffer.h b/src/buffer.h index a36c0d13c9e..f39e3d33185 100644 --- a/src/buffer.h +++ b/src/buffer.h | |||
| @@ -871,13 +871,19 @@ struct buffer | |||
| 871 | }; | 871 | }; |
| 872 | 872 | ||
| 873 | /* Most code should use these functions to set Lisp fields in struct | 873 | /* Most code should use these functions to set Lisp fields in struct |
| 874 | buffer. */ | 874 | buffer. (Some setters that are priviate to a single .c file are |
| 875 | defined as static in those files.) */ | ||
| 875 | INLINE void | 876 | INLINE void |
| 876 | bset_bidi_paragraph_direction (struct buffer *b, Lisp_Object val) | 877 | bset_bidi_paragraph_direction (struct buffer *b, Lisp_Object val) |
| 877 | { | 878 | { |
| 878 | b->INTERNAL_FIELD (bidi_paragraph_direction) = val; | 879 | b->INTERNAL_FIELD (bidi_paragraph_direction) = val; |
| 879 | } | 880 | } |
| 880 | INLINE void | 881 | INLINE void |
| 882 | bset_cache_long_scans (struct buffer *b, Lisp_Object val) | ||
| 883 | { | ||
| 884 | b->INTERNAL_FIELD (cache_long_scans) = val; | ||
| 885 | } | ||
| 886 | INLINE void | ||
| 881 | bset_case_canon_table (struct buffer *b, Lisp_Object val) | 887 | bset_case_canon_table (struct buffer *b, Lisp_Object val) |
| 882 | { | 888 | { |
| 883 | b->INTERNAL_FIELD (case_canon_table) = val; | 889 | b->INTERNAL_FIELD (case_canon_table) = val; |