aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
authorTom Tromey2012-08-15 12:56:38 -0600
committerTom Tromey2012-08-15 12:56:38 -0600
commit68b32482437e05f0994c4dd0ab5b0c27d39f0f6d (patch)
treefe01584b00d03559210438ebc608a1d170ee00b3 /src/buffer.h
parent5190da91e6ca41287190693a8999a6919a9cd8e6 (diff)
downloademacs-68b32482437e05f0994c4dd0ab5b0c27d39f0f6d.tar.gz
emacs-68b32482437e05f0994c4dd0ab5b0c27d39f0f6d.zip
This introduces a thread-state object and moves various C globals
there. It also introduces #defines for these globals to avoid a monster patch. The #defines mean that this patch also has to rename a few fields whose names clash with the defines. There is currently just a single "thread"; so this patch does not impact Emacs behavior in any significant way.
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 7a6bddee5ec..1c9f5d972a9 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -872,10 +872,6 @@ extern struct buffer *all_buffers;
872#define FOR_EACH_BUFFER(b) \ 872#define FOR_EACH_BUFFER(b) \
873 for ((b) = all_buffers; (b); (b) = (b)->header.next.buffer) 873 for ((b) = all_buffers; (b); (b) = (b)->header.next.buffer)
874 874
875/* This points to the current buffer. */
876
877extern struct buffer *current_buffer;
878
879/* This structure holds the default values of the buffer-local variables 875/* This structure holds the default values of the buffer-local variables
880 that have special slots in each buffer. 876 that have special slots in each buffer.
881 The default value occupies the same slot in this structure 877 The default value occupies the same slot in this structure