diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-04-13 19:57:04 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-04-13 19:57:04 -0700 |
commit | 2b96acb7c0c23467a24d922b91f76780855c01f4 (patch) | |
tree | 56e18fec45515076e325285a76a52a58f66eb665 /src/undo.c | |
parent | 50436f3383af8a123437e9bece3a584597a227f2 (diff) | |
download | emacs-2b96acb7c0c23467a24d922b91f76780855c01f4.tar.gz |
* 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.
Diffstat (limited to 'src/undo.c')
-rw-r--r-- | src/undo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/undo.c b/src/undo.c index b310133900c..ba420fde817 100644 --- a/src/undo.c +++ b/src/undo.c @@ -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. |