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.
/* 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;
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.
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 */