Commit 2b96acb7 authored by Paul Eggert's avatar Paul Eggert

* window.c (window_deletion_count): Now static.

* undo.c: Make symbols static if they're not exported.
(last_undo_buffer, last_boundary_position, pending_boundary):
Now static.
parent 50436f33
2011-04-14 Paul Eggert <eggert@cs.ucla.edu>
* window.c (window_deletion_count): Now static.
* undo.c: Make symbols static if they're not exported.
(last_undo_buffer, last_boundary_position, pending_boundary):
Now static.
* textprop.c (interval_insert_behind_hooks): Now static.
(interval_insert_in_front_hooks): Likewise.
......
......@@ -26,11 +26,11 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
/* Last buffer for which undo information was recorded. */
/* BEWARE: This is not traced by the GC, so never dereference it! */
struct buffer *last_undo_buffer;
static struct buffer *last_undo_buffer;
/* Position of point last time we inserted a boundary. */
struct buffer *last_boundary_buffer;
EMACS_INT last_boundary_position;
static struct buffer *last_boundary_buffer;
static EMACS_INT last_boundary_position;
Lisp_Object Qinhibit_read_only;
......@@ -43,7 +43,7 @@ Lisp_Object Qapply;
which will be added to the list at the end of the command.
This ensures we can't run out of space while trying to make
an undo-boundary. */
Lisp_Object pending_boundary;
static Lisp_Object pending_boundary;
/* Record point as it was at beginning of this command (if necessary)
and prepare the undo info for recording a change.
......
......@@ -132,7 +132,7 @@ static int window_initialized;
static Lisp_Object Qwindow_configuration_change_hook;
/* Incremented by 1 whenever a window is deleted. */
int window_deletion_count;
static int window_deletion_count;
/* Used by the function window_scroll_pixel_based */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment