diff options
| author | Tom Tromey | 2012-08-15 12:56:38 -0600 |
|---|---|---|
| committer | Tom Tromey | 2012-08-15 12:56:38 -0600 |
| commit | 68b32482437e05f0994c4dd0ab5b0c27d39f0f6d (patch) | |
| tree | fe01584b00d03559210438ebc608a1d170ee00b3 /src/buffer.c | |
| parent | 5190da91e6ca41287190693a8999a6919a9cd8e6 (diff) | |
| download | emacs-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.c')
| -rw-r--r-- | src/buffer.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c index 56d6231f5f8..7fb1029a314 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -44,8 +44,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 44 | #include "keymap.h" | 44 | #include "keymap.h" |
| 45 | #include "frame.h" | 45 | #include "frame.h" |
| 46 | 46 | ||
| 47 | struct buffer *current_buffer; /* the current buffer */ | ||
| 48 | |||
| 49 | /* First buffer in chain of all buffers (in reverse order of creation). | 47 | /* First buffer in chain of all buffers (in reverse order of creation). |
| 50 | Threaded through ->header.next.buffer. */ | 48 | Threaded through ->header.next.buffer. */ |
| 51 | 49 | ||