aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorStefan Monnier2020-11-19 13:10:20 -0500
committerStefan Monnier2020-11-19 13:10:40 -0500
commit3963aea4f4a22da0c1fb8ca8ca80b59c58373811 (patch)
tree4e0fd48f587d8f6287ba68ec42791f1e96cedf12 /src/buffer.c
parent4fa1de82a28b04128fcb02b3dd1bfcca34efda4c (diff)
downloademacs-3963aea4f4a22da0c1fb8ca8ca80b59c58373811.tar.gz
emacs-3963aea4f4a22da0c1fb8ca8ca80b59c58373811.zip
* src/buffer.h (struct buffer): Remove unused field `minor_modes`
* src/buffer.c (bset_minor_modes): Remove function. (reset_buffer_local_variables, init_buffer_once): Don't set `minor_modes`.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 4fd2b0c8b17..360dd348e05 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -297,11 +297,6 @@ bset_mark (struct buffer *b, Lisp_Object val)
297 b->mark_ = val; 297 b->mark_ = val;
298} 298}
299static void 299static void
300bset_minor_modes (struct buffer *b, Lisp_Object val)
301{
302 b->minor_modes_ = val;
303}
304static void
305bset_mode_line_format (struct buffer *b, Lisp_Object val) 300bset_mode_line_format (struct buffer *b, Lisp_Object val)
306{ 301{
307 b->mode_line_format_ = val; 302 b->mode_line_format_ = val;
@@ -1004,7 +999,6 @@ reset_buffer_local_variables (struct buffer *b, bool permanent_too)
1004 bset_major_mode (b, Qfundamental_mode); 999 bset_major_mode (b, Qfundamental_mode);
1005 bset_keymap (b, Qnil); 1000 bset_keymap (b, Qnil);
1006 bset_mode_name (b, QSFundamental); 1001 bset_mode_name (b, QSFundamental);
1007 bset_minor_modes (b, Qnil);
1008 1002
1009 /* If the standard case table has been altered and invalidated, 1003 /* If the standard case table has been altered and invalidated,
1010 fix up its insides first. */ 1004 fix up its insides first. */
@@ -5180,7 +5174,6 @@ init_buffer_once (void)
5180 bset_upcase_table (&buffer_local_flags, make_fixnum (0)); 5174 bset_upcase_table (&buffer_local_flags, make_fixnum (0));
5181 bset_case_canon_table (&buffer_local_flags, make_fixnum (0)); 5175 bset_case_canon_table (&buffer_local_flags, make_fixnum (0));
5182 bset_case_eqv_table (&buffer_local_flags, make_fixnum (0)); 5176 bset_case_eqv_table (&buffer_local_flags, make_fixnum (0));
5183 bset_minor_modes (&buffer_local_flags, make_fixnum (0));
5184 bset_width_table (&buffer_local_flags, make_fixnum (0)); 5177 bset_width_table (&buffer_local_flags, make_fixnum (0));
5185 bset_pt_marker (&buffer_local_flags, make_fixnum (0)); 5178 bset_pt_marker (&buffer_local_flags, make_fixnum (0));
5186 bset_begv_marker (&buffer_local_flags, make_fixnum (0)); 5179 bset_begv_marker (&buffer_local_flags, make_fixnum (0));