diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2020-11-19 13:10:20 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2020-11-19 13:10:40 -0500 |
commit | 3963aea4f4a22da0c1fb8ca8ca80b59c58373811 (patch) | |
tree | 4e0fd48f587d8f6287ba68ec42791f1e96cedf12 | |
parent | 4fa1de82a28b04128fcb02b3dd1bfcca34efda4c (diff) | |
download | emacs-3963aea4f4a22da0c1fb8ca8ca80b59c58373811.tar.gz emacs-3963aea4f4a22da0c1fb8ca8ca80b59c58373811.tar.bz2 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`.
-rw-r--r-- | src/buffer.c | 7 | ||||
-rw-r--r-- | src/buffer.h | 3 |
2 files changed, 0 insertions, 10 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) b->mark_ = val; } static void -bset_minor_modes (struct buffer *b, Lisp_Object val) -{ - b->minor_modes_ = val; -} -static void bset_mode_line_format (struct buffer *b, Lisp_Object val) { b->mode_line_format_ = val; @@ -1004,7 +999,6 @@ reset_buffer_local_variables (struct buffer *b, bool permanent_too) bset_major_mode (b, Qfundamental_mode); bset_keymap (b, Qnil); bset_mode_name (b, QSFundamental); - bset_minor_modes (b, Qnil); /* If the standard case table has been altered and invalidated, fix up its insides first. */ @@ -5180,7 +5174,6 @@ init_buffer_once (void) bset_upcase_table (&buffer_local_flags, make_fixnum (0)); bset_case_canon_table (&buffer_local_flags, make_fixnum (0)); bset_case_eqv_table (&buffer_local_flags, make_fixnum (0)); - bset_minor_modes (&buffer_local_flags, make_fixnum (0)); bset_width_table (&buffer_local_flags, make_fixnum (0)); bset_pt_marker (&buffer_local_flags, make_fixnum (0)); bset_begv_marker (&buffer_local_flags, make_fixnum (0)); diff --git a/src/buffer.h b/src/buffer.h index 3da49414bb8..fe549c5dac1 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -419,9 +419,6 @@ struct buffer /* Non-nil means show ... at end of line followed by invisible lines. */ Lisp_Object selective_display_ellipses_; - /* Alist of (FUNCTION . STRING) for each minor mode enabled in buffer. */ - Lisp_Object minor_modes_; - /* t if "self-insertion" should overwrite; `binary' if it should also overwrite newlines and tabs - for editing executables and the like. */ Lisp_Object overwrite_mode_; |