changeset 74108:cb533833bfb7

Break line before &&, not after.
author Richard M. Stallman <rms@gnu.org>
date Tue, 21 Nov 2006 01:34:30 +0000
parents 6b7d9ac4acd8
children b67c1da1e80e
files src/fileio.c
diffstat 1 files changed, 21 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Mon Nov 20 21:42:26 2006 +0000
+++ b/src/fileio.c	Tue Nov 21 01:34:30 2006 +0000
@@ -1248,9 +1248,9 @@
 	      }
 	    else
 #endif /* NO_HYPHENS_IN_FILENAMES */
-	      if (lbrack > rbrack &&
-		  ((p[-1] == '.' || p[-1] == '[' || p[-1] == '<') &&
-		   (p[1] == '.' || p[1] == ']' || p[1] == '>')))
+	      if (lbrack > rbrack
+		  && ((p[-1] == '.' || p[-1] == '[' || p[-1] == '<')
+		      && (p[1] == '.' || p[1] == ']' || p[1] == '>')))
 		lose = 1;
 #ifdef NO_HYPHENS_IN_FILENAMES
 	      else
@@ -1619,8 +1619,8 @@
 	  else if (*p == '-' && *o != '.')
 	    *--p = '.';
 	}
-      else if (p[0] == '-' && o[-1] == '.' &&
-	       (p[1] == '.' || p[1] == ']' || p[1] == '>'))
+      else if (p[0] == '-' && o[-1] == '.'
+	       && (p[1] == '.' || p[1] == ']' || p[1] == '>'))
 	/* flush .foo.- ; leave - if stopped by '[' or '<' */
 	{
 	  do
@@ -1635,9 +1635,9 @@
       else
 	{
 #ifdef NO_HYPHENS_IN_FILENAMES
-	  if (*p == '-' &&
-	      o[-1] != '[' && o[-1] != '<' && o[-1] != '.' &&
-	      p[1] != ']' && p[1] != '>' && p[1] != '.')
+	  if (*p == '-'
+	      && o[-1] != '[' && o[-1] != '<' && o[-1] != '.'
+	      && p[1] != ']' && p[1] != '>' && p[1] != '.')
 	    *p = '_';
 #endif /* NO_HYPHENS_IN_FILENAMES */
 	  *o++ = *p++;
@@ -1820,9 +1820,9 @@
 	      }
 	    else
 #endif /* VMS4_4 */
-	      if (lbrack > rbrack &&
-		  ((p[-1] == '.' || p[-1] == '[' || p[-1] == '<') &&
-		   (p[1] == '.' || p[1] == ']' || p[1] == '>')))
+	      if (lbrack > rbrack
+		  && ((p[-1] == '.' || p[-1] == '[' || p[-1] == '<')
+		      && (p[1] == '.' || p[1] == ']' || p[1] == '>')))
 		lose = 1;
 #ifndef VMS4_4
 	      else
@@ -1991,8 +1991,8 @@
 	  else if (*p == '-' && *o != '.')
 	    *--p = '.';
 	}
-      else if (p[0] == '-' && o[-1] == '.' &&
-	       (p[1] == '.' || p[1] == ']' || p[1] == '>'))
+      else if (p[0] == '-' && o[-1] == '.'
+	       && (p[1] == '.' || p[1] == ']' || p[1] == '>'))
 	/* flush .foo.- ; leave - if stopped by '[' or '<' */
 	{
 	  do
@@ -2007,9 +2007,9 @@
       else
 	{
 #ifndef VMS4_4
-	  if (*p == '-' &&
-	      o[-1] != '[' && o[-1] != '<' && o[-1] != '.' &&
-	      p[1] != ']' && p[1] != '>' && p[1] != '.')
+	  if (*p == '-'
+	      && o[-1] != '[' && o[-1] != '<' && o[-1] != '.'
+	      && p[1] != ']' && p[1] != '>' && p[1] != '.')
 	    *p = '_';
 #endif /* VMS4_4 */
 	  *o++ = *p++;
@@ -2029,8 +2029,8 @@
 	  o = target;
 	  p++;
 	}
-      else if (p[0] == '/' && p[1] == '.' &&
-	       (p[2] == '/' || p[2] == 0))
+      else if (p[0] == '/' && p[1] == '.'
+	       && (p[2] == '/' || p[2] == 0))
 	p += 2;
       else if (!strncmp (p, "/..", 3)
 	       /* `/../' is the "superroot" on certain file systems.  */
@@ -6201,9 +6201,9 @@
 	    {
 	      Lisp_Object tem = XCAR (all);
 	      int len;
-	      if (STRINGP (tem) &&
-		  (len = SBYTES (tem), len > 0) &&
-		  IS_DIRECTORY_SEP (SREF (tem, len-1)))
+	      if (STRINGP (tem)
+		  && (len = SBYTES (tem), len > 0)
+		  && IS_DIRECTORY_SEP (SREF (tem, len-1)))
 		comp = Fcons (tem, comp);
 	    }
 	}