]> git.eshelyaron.com Git - emacs.git/commitdiff
* fileio.c: Make symbols static if they're not exported.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 13 Apr 2011 22:57:17 +0000 (15:57 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 13 Apr 2011 22:57:17 +0000 (15:57 -0700)
(auto_saving, auto_save_mode_bits, auto_save_error_occurred):
(Vwrite_region_annotation_buffers): Now static.

src/ChangeLog
src/fileio.c

index 5a6da2ab788e2fa3e4d8f468c074a7da7d5c6fe9..e2efafb2adc177f899fb475502c3e49bde3fb758 100644 (file)
@@ -1,5 +1,9 @@
 2011-04-13  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * 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.
index fb16decaaa395b0d96b96998e9861c13327b6c36..4c92510178a755e1b45678b5df4f44da25d5ce59 100644 (file)
@@ -88,14 +88,14 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #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