aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h8
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.) */
875INLINE void 876INLINE void
876bset_bidi_paragraph_direction (struct buffer *b, Lisp_Object val) 877bset_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}
880INLINE void 881INLINE void
882bset_cache_long_scans (struct buffer *b, Lisp_Object val)
883{
884 b->INTERNAL_FIELD (cache_long_scans) = val;
885}
886INLINE void
881bset_case_canon_table (struct buffer *b, Lisp_Object val) 887bset_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;