# HG changeset patch # User Juanma Barranquero # Date 1278251465 -7200 # Node ID 18f8e88d3829eb39d5a1206d1cf724da5d9debfa # Parent cd13b432f239fee18368f00507ae983b28b12519 Fix comments and whitespace. diff -r cd13b432f239 -r 18f8e88d3829 src/data.c --- a/src/data.c Sun Jul 04 15:41:55 2010 +0200 +++ b/src/data.c Sun Jul 04 15:51:05 2010 +0200 @@ -941,10 +941,6 @@ static void store_symval_forwarding (union Lisp_Fwd *valcontents, register Lisp_Object newval, struct buffer *buf) - /* struct Lisp_Symbol *symbol; */ - - - { switch (XFWDTYPE (valcontents)) { diff -r cd13b432f239 -r 18f8e88d3829 src/doc.c --- a/src/doc.c Sun Jul 04 15:41:55 2010 +0200 +++ b/src/doc.c Sun Jul 04 15:51:05 2010 +0200 @@ -511,9 +511,7 @@ static void store_function_docstring (Lisp_Object fun, EMACS_INT offset) - - /* Use EMACS_INT because we get this from pointer subtraction. */ - +/* Use EMACS_INT because we get offset from pointer subtraction. */ { fun = indirect_function (fun); diff -r cd13b432f239 -r 18f8e88d3829 src/editfns.c --- a/src/editfns.c Sun Jul 04 15:41:55 2010 +0200 +++ b/src/editfns.c Sun Jul 04 15:51:05 2010 +0200 @@ -1436,7 +1436,7 @@ } char * -get_operating_system_release(void) +get_operating_system_release (void) { if (STRINGP (Voperating_system_release)) return (char *) SDATA (Voperating_system_release); @@ -3592,7 +3592,7 @@ string itself, will not be used. Element NARGS, corresponding to no argument, *will* be assigned to in the case that a `%' and `.' occur after the final format specifier. */ - int *precision = (int *) (alloca((nargs + 1) * sizeof (int))); + int *precision = (int *) (alloca ((nargs + 1) * sizeof (int))); int longest_format; Lisp_Object val; int arg_intervals = 0; @@ -3763,7 +3763,7 @@ string will finally appear (Bug#5710). */ actual_width = lisp_string_width (args[n], -1, NULL, NULL); if (precision[n] != -1) - actual_width = min(actual_width,precision[n]); + actual_width = min (actual_width, precision[n]); } /* Would get MPV otherwise, since Lisp_Int's `point' to low memory. */ else if (INTEGERP (args[n]) && *format != 's') @@ -3876,7 +3876,7 @@ discarded[format - format_start] = 1; format++; - while (index("-+0# ", *format)) + while (index ("-+0# ", *format)) { if (*format == '-') { diff -r cd13b432f239 -r 18f8e88d3829 src/keymap.c --- a/src/keymap.c Sun Jul 04 15:41:55 2010 +0200 +++ b/src/keymap.c Sun Jul 04 15:51:05 2010 +0200 @@ -2088,9 +2088,7 @@ static void accessible_keymaps_1 (Lisp_Object key, Lisp_Object cmd, Lisp_Object args, void *data) - - /* Use void* to be compatible with map_keymap_function_t. */ - +/* Use void* data to be compatible with map_keymap_function_t. */ { struct accessible_keymaps_data *d = data; /* Cast! */ Lisp_Object maps = d->maps; diff -r cd13b432f239 -r 18f8e88d3829 src/lread.c --- a/src/lread.c Sun Jul 04 15:41:55 2010 +0200 +++ b/src/lread.c Sun Jul 04 15:51:05 2010 +0200 @@ -1899,9 +1899,7 @@ calls. */ static Lisp_Object read_internal_start (Lisp_Object stream, Lisp_Object start, Lisp_Object end) - - /* Only used when stream is a string. */ - /* Only used when stream is a string. */ +/* start, end only used when stream is a string. */ { Lisp_Object retval;