aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
authorGregory Heytings2022-07-08 23:36:18 +0200
committerGregory Heytings2022-07-08 23:36:18 +0200
commit60e51595c8a89ffc34dbe0d36c75d1c119a7d5c5 (patch)
treee9736bab9374cbe83431fc70f499b51ae1c92313 /src/buffer.h
parente31cffb5abfe68b62047532765a2076ac4885475 (diff)
downloademacs-60e51595c8a89ffc34dbe0d36c75d1c119a7d5c5.tar.gz
emacs-60e51595c8a89ffc34dbe0d36c75d1c119a7d5c5.zip
Revert commit 38b3780f6e.
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 19faa844e02..135eaf72d30 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -561,9 +561,6 @@ struct buffer
561 in the display of this buffer. */ 561 in the display of this buffer. */
562 Lisp_Object extra_line_spacing_; 562 Lisp_Object extra_line_spacing_;
563 563
564 /* Narrowing state when auto-narrow mode is in effect. */
565 Lisp_Object auto_narrow__narrowing_state_;
566
567 /* Cursor type to display in non-selected windows. 564 /* Cursor type to display in non-selected windows.
568 t means to use hollow box cursor. 565 t means to use hollow box cursor.
569 See `cursor-type' for other values. */ 566 See `cursor-type' for other values. */
@@ -835,11 +832,6 @@ bset_width_table (struct buffer *b, Lisp_Object val)
835{ 832{
836 b->width_table_ = val; 833 b->width_table_ = val;
837} 834}
838INLINE void
839bset_auto_narrow__narrowing_state (struct buffer *b, Lisp_Object val)
840{
841 b->auto_narrow__narrowing_state_ = val;
842}
843 835
844/* BUFFER_CEILING_OF (resp. BUFFER_FLOOR_OF), when applied to n, return 836/* BUFFER_CEILING_OF (resp. BUFFER_FLOOR_OF), when applied to n, return
845 the max (resp. min) p such that 837 the max (resp. min) p such that
@@ -1120,12 +1112,6 @@ BUFFER_CHECK_INDIRECTION (struct buffer *b)
1120 } 1112 }
1121} 1113}
1122 1114
1123INLINE bool
1124BUFFER_AUTO_NARROWED_P (struct buffer *b)
1125{
1126 return EQ (BVAR (b, auto_narrow__narrowing_state), Qauto);
1127}
1128
1129/* This structure holds the default values of the buffer-local variables 1115/* This structure holds the default values of the buffer-local variables
1130 that have special slots in each buffer. 1116 that have special slots in each buffer.
1131 The default value occupies the same slot in this structure 1117 The default value occupies the same slot in this structure