aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuanma Barranquero2007-10-10 08:53:30 +0000
committerJuanma Barranquero2007-10-10 08:53:30 +0000
commitc86f737748a087266c607c9bc0a0d79809c6b8f8 (patch)
tree409e1d6251c4a5ac80c9ec0d39b6c9d431f80d71 /src
parent0f011df0d134243fadf4751b0ad6e83f8e1310ed (diff)
downloademacs-c86f737748a087266c607c9bc0a0d79809c6b8f8.tar.gz
emacs-c86f737748a087266c607c9bc0a0d79809c6b8f8.zip
(indent_tabs_mode, last_known_column, last_known_column_modified): Make static.
(syms_of_indent) <indent-tabs-mode>: Remove redundant info in docstring.
Diffstat (limited to 'src')
-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 ab4065907dc..385fb503af3 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12007-10-10 Juanma Barranquero <lekktu@gmail.com>
2
3 * indent.c (indent_tabs_mode, last_known_column)
4 (last_known_column_modified): Make static.
5 (syms_of_indent) <indent-tabs-mode>: Remove redundant info in docstring.
6
12007-10-10 Katsumi Yamaoka <yamaoka@jpl.org> 72007-10-10 Katsumi Yamaoka <yamaoka@jpl.org>
2 8
3 * puresize.h (BASE_PURESIZE): Increase to 1170000. 9 * puresize.h (BASE_PURESIZE): Increase to 1170000.
@@ -86,7 +92,7 @@
86 92
872007-10-09 Stefan Monnier <monnier@iro.umontreal.ca> 932007-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
88 94
89 Add new `input-decode-map' keymap and use it for temrinal 95 Add new `input-decode-map' keymap and use it for terminal
90 escape sequences. 96 escape sequences.
91 * keyboard.h (struct kboard): Add Vinput_decode_map. 97 * keyboard.h (struct kboard): Add Vinput_decode_map.
92 Remove Vlocal_key_translation_map. 98 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. */
39/* Indentation can insert tabs if this is non-zero; 39/* Indentation can insert tabs if this is non-zero;
40 otherwise always uses spaces. */ 40 otherwise always uses spaces. */
41 41
42int indent_tabs_mode; 42static int indent_tabs_mode;
43 43
44#define CR 015 44#define CR 015
45 45
@@ -49,7 +49,7 @@ int indent_tabs_mode;
49 Some things in set last_known_column_point to -1 49 Some things in set last_known_column_point to -1
50 to mark the memorized value as invalid. */ 50 to mark the memorized value as invalid. */
51 51
52double last_known_column; 52static double last_known_column;
53 53
54/* Value of point when current_column was called. */ 54/* Value of point when current_column was called. */
55 55
@@ -57,7 +57,7 @@ EMACS_INT last_known_column_point;
57 57
58/* Value of MODIFF when current_column was called. */ 58/* Value of MODIFF when current_column was called. */
59 59
60int last_known_column_modified; 60static int last_known_column_modified;
61 61
62static double current_column_1 P_ ((void)); 62static double current_column_1 P_ ((void));
63static double position_indentation P_ ((int)); 63static double position_indentation P_ ((int));
@@ -2159,8 +2159,7 @@ void
2159syms_of_indent () 2159syms_of_indent ()
2160{ 2160{
2161 DEFVAR_BOOL ("indent-tabs-mode", &indent_tabs_mode, 2161 DEFVAR_BOOL ("indent-tabs-mode", &indent_tabs_mode,
2162 doc: /* *Indentation can insert tabs if this is non-nil. 2162 doc: /* *Indentation can insert tabs if this is non-nil. */);
2163Setting this variable automatically makes it local to the current buffer. */);
2164 indent_tabs_mode = 1; 2163 indent_tabs_mode = 1;
2165 2164
2166 defsubr (&Scurrent_indentation); 2165 defsubr (&Scurrent_indentation);