]> code.delx.au - gnu-emacs/blobdiff - src/lread.c
(right_overwritten): Doc fix
[gnu-emacs] / src / lread.c
index 1bc9ec3ee0d08f9527c0ac91df89506ac2352810..6ec8dff6cfd7223e79c717acde9ffd3319b76b6b 100644 (file)
@@ -1269,13 +1269,11 @@ Return t if the file exists and loads successfully.  */)
 
   UNGCPRO;
 
-  if (saved_doc_string)
-    free (saved_doc_string);
+  xfree (saved_doc_string);
   saved_doc_string = 0;
   saved_doc_string_size = 0;
 
-  if (prev_saved_doc_string)
-    xfree (prev_saved_doc_string);
+  xfree (prev_saved_doc_string);
   prev_saved_doc_string = 0;
   prev_saved_doc_string_size = 0;
 
@@ -2036,7 +2034,7 @@ read_escape (readcharfun, stringp)
 {
   register int c = READCHAR;
   /* \u allows up to four hex digits, \U up to eight. Default to the
-     behaviour for \u, and change this value in the case that \U is seen. */
+     behavior for \u, and change this value in the case that \U is seen. */
   int unicode_hex_count = 4;
 
   switch (c)
@@ -3106,7 +3104,7 @@ substitute_object_recurse (object, placeholder, subtree)
        else
          /* An unknown pseudovector may contain non-Lisp fields, so we
             can't just blindly traverse all its fields.  We used to call
-            `Flength' which signalled `sequencep', so I just preserved this
+            `Flength' which signaled `sequencep', so I just preserved this
             behavior.  */
          wrong_type_argument (Qsequencep, subtree);
 
@@ -4097,7 +4095,7 @@ init_lread ()
     }
 #endif
 
-#if (!(defined(WINDOWSNT) || (defined(HAVE_CARBON))))
+#if (!(defined(WINDOWSNT) || (defined(HAVE_CARBON)) || (defined(HAVE_NS))))
   /* When Emacs is invoked over network shares on NT, PATH_LOADSEARCH is
      almost never correct, thereby causing a warning to be printed out that
      confuses users.  Since PATH_LOADSEARCH is always overridden by the
@@ -4127,7 +4125,7 @@ init_lread ()
            }
        }
     }
-#endif /* !(WINDOWSNT || HAVE_CARBON) */
+#endif /* !(WINDOWSNT || HAVE_CARBON || HAVE_NS) */
 
   /* If the EMACSLOADPATH environment variable is set, use its value.
      This doesn't apply if we're dumping.  */