aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 6f090479a24..a97cc13705b 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -866,7 +866,7 @@ extern struct buffer *all_buffers;
866 866
867/* Used to iterate over the chain above. */ 867/* Used to iterate over the chain above. */
868 868
869#define for_each_buffer(b) \ 869#define FOR_EACH_BUFFER(b) \
870 for ((b) = all_buffers; (b); (b) = (b)->header.next.buffer) 870 for ((b) = all_buffers; (b); (b) = (b)->header.next.buffer)
871 871
872/* This points to the current buffer. */ 872/* This points to the current buffer. */
@@ -1021,7 +1021,7 @@ extern int last_per_buffer_idx;
1021 Lisp_Objects except undo_list). If you add, remove, or reorder 1021 Lisp_Objects except undo_list). If you add, remove, or reorder
1022 Lisp_Objects in a struct buffer, make sure that this is still correct. */ 1022 Lisp_Objects in a struct buffer, make sure that this is still correct. */
1023 1023
1024#define for_each_per_buffer_object_at(offset) \ 1024#define FOR_EACH_PER_BUFFER_OBJECT_AT(offset) \
1025 for (offset = PER_BUFFER_VAR_OFFSET (name); \ 1025 for (offset = PER_BUFFER_VAR_OFFSET (name); \
1026 offset <= PER_BUFFER_VAR_OFFSET (cursor_in_non_selected_windows); \ 1026 offset <= PER_BUFFER_VAR_OFFSET (cursor_in_non_selected_windows); \
1027 offset += sizeof (Lisp_Object)) 1027 offset += sizeof (Lisp_Object))