From 5045092bb41620c978e01afe3efef18477ba2760 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 13 Apr 2011 15:57:17 -0700 Subject: [PATCH] * fileio.c: Make symbols static if they're not exported. (auto_saving, auto_save_mode_bits, auto_save_error_occurred): (Vwrite_region_annotation_buffers): Now static. --- src/ChangeLog | 4 ++++ src/fileio.c | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 5a6da2ab788..e2efafb2adc 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,9 @@ 2011-04-13 Paul Eggert + * fileio.c: Make symbols static if they're not exported. + (auto_saving, auto_save_mode_bits, auto_save_error_occurred): + (Vwrite_region_annotation_buffers): Now static. + * eval.c: Make symbols static if they're not exported. (backtrace_list, lisp_eval_depth, when_entered_debugger): Now static. * lisp.h (backtrace_list): Remove decl. diff --git a/src/fileio.c b/src/fileio.c index fb16decaaa3..4c92510178a 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -88,14 +88,14 @@ along with GNU Emacs. If not, see . */ #endif /* Nonzero during writing of auto-save files */ -int auto_saving; +static int auto_saving; /* Set by auto_save_1 to mode of original file so Fwrite_region will create a new file with the same mode as the original */ -int auto_save_mode_bits; +static int auto_save_mode_bits; /* Set by auto_save_1 if an error occurred during the last auto-save. */ -int auto_save_error_occurred; +static int auto_save_error_occurred; /* The symbol bound to coding-system-for-read when insert-file-contents is called for recovering a file. This is not @@ -118,7 +118,7 @@ static Lisp_Object Qafter_insert_file_set_coding; static Lisp_Object Qwrite_region_annotate_functions; /* Each time an annotation function changes the buffer, the new buffer is added here. */ -Lisp_Object Vwrite_region_annotation_buffers; +static Lisp_Object Vwrite_region_annotation_buffers; #ifdef HAVE_FSYNC #endif -- 2.39.2