aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog8
-rw-r--r--src/indent.c9
2 files changed, 11 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index ab4065907d..385fb503af 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
+2007-10-10 Juanma Barranquero <[email protected]>
+
+ * indent.c (indent_tabs_mode, last_known_column)
+ (last_known_column_modified): Make static.
+ (syms_of_indent) <indent-tabs-mode>: Remove redundant info in docstring.
+
2007-10-10 Katsumi Yamaoka <[email protected]>
* puresize.h (BASE_PURESIZE): Increase to 1170000.
@@ -86,7 +92,7 @@
2007-10-09 Stefan Monnier <[email protected]>
- 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 16ae54c134..2d48dc746d 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);