From c86f737748a087266c607c9bc0a0d79809c6b8f8 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Wed, 10 Oct 2007 08:53:30 +0000 Subject: [PATCH] (indent_tabs_mode, last_known_column, last_known_column_modified): Make static. (syms_of_indent) : Remove redundant info in docstring. --- src/ChangeLog | 8 +++++++- src/indent.c | 9 ++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index ab4065907dc..385fb503af3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2007-10-10 Juanma Barranquero + + * indent.c (indent_tabs_mode, last_known_column) + (last_known_column_modified): Make static. + (syms_of_indent) : Remove redundant info in docstring. + 2007-10-10 Katsumi Yamaoka * puresize.h (BASE_PURESIZE): Increase to 1170000. @@ -86,7 +92,7 @@ 2007-10-09 Stefan Monnier - Add new `input-decode-map' keymap and use it for temrinal + Add new `input-decode-map' keymap and use it for terminal escape sequences. * keyboard.h (struct kboard): Add Vinput_decode_map. Remove Vlocal_key_translation_map. diff --git a/src/indent.c b/src/indent.c index 16ae54c1347..2d48dc746d7 100644 --- a/src/indent.c +++ b/src/indent.c @@ -39,7 +39,7 @@ Boston, MA 02110-1301, USA. */ /* Indentation can insert tabs if this is non-zero; otherwise always uses spaces. */ -int indent_tabs_mode; +static int indent_tabs_mode; #define CR 015 @@ -49,7 +49,7 @@ int indent_tabs_mode; Some things in set last_known_column_point to -1 to mark the memorized value as invalid. */ -double last_known_column; +static double last_known_column; /* Value of point when current_column was called. */ @@ -57,7 +57,7 @@ EMACS_INT last_known_column_point; /* Value of MODIFF when current_column was called. */ -int last_known_column_modified; +static int last_known_column_modified; static double current_column_1 P_ ((void)); static double position_indentation P_ ((int)); @@ -2159,8 +2159,7 @@ void syms_of_indent () { DEFVAR_BOOL ("indent-tabs-mode", &indent_tabs_mode, - doc: /* *Indentation can insert tabs if this is non-nil. -Setting this variable automatically makes it local to the current buffer. */); + doc: /* *Indentation can insert tabs if this is non-nil. */); indent_tabs_mode = 1; defsubr (&Scurrent_indentation); -- 2.39.5