aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-04-10 23:15:21 -0700
committerPaul Eggert2011-04-10 23:15:21 -0700
commitc358e587580fbd9deb39b3ddde9383611529c2a6 (patch)
treeed3296edf35e61dff12d7699886a1ddad30dbacb /src
parente78aecca6069e0ab7e08f359b185339c7130ccbf (diff)
downloademacs-c358e587580fbd9deb39b3ddde9383611529c2a6.tar.gz
emacs-c358e587580fbd9deb39b3ddde9383611529c2a6.zip
* buffer.c (buffer_count): Remove unused var.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/buffer.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f2abbc8ed5c..01602b1516b 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
12011-04-11 Paul Eggert <eggert@cs.ucla.edu> 12011-04-11 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * buffer.c (buffer_count): Remove unused var.
4
3 * bidi.c (bidi_dump_cached_states): Mark as externally visible, 5 * bidi.c (bidi_dump_cached_states): Mark as externally visible,
4 so that it's not optimized away. 6 so that it's not optimized away.
5 (bidi_ignore_explicit_marks_for_paragraph_level): Likewise. 7 (bidi_ignore_explicit_marks_for_paragraph_level): Likewise.
diff --git a/src/buffer.c b/src/buffer.c
index 82913ac20e7..4e690f42934 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -294,9 +294,6 @@ get_truename_buffer (register Lisp_Object filename)
294 return Qnil; 294 return Qnil;
295} 295}
296 296
297/* Incremented for each buffer created, to assign the buffer number. */
298int buffer_count;
299
300DEFUE ("get-buffer-create", Fget_buffer_create, Sget_buffer_create, 1, 1, 0, 297DEFUE ("get-buffer-create", Fget_buffer_create, Sget_buffer_create, 1, 1, 0,
301 doc: /* Return the buffer specified by BUFFER-OR-NAME, creating a new one if needed. 298 doc: /* Return the buffer specified by BUFFER-OR-NAME, creating a new one if needed.
302If BUFFER-OR-NAME is a string and a live buffer with that name exists, 299If BUFFER-OR-NAME is a string and a live buffer with that name exists,