diff src/emacs.c @ 638:40b255f55df3

*** empty log message ***
author Jim Blandy <jimb@redhat.com>
date Sun, 10 May 1992 18:15:10 +0000
parents 2bb7f23b7ea5
children a8d94735277e
line wrap: on
line diff
--- a/src/emacs.c	Sun May 10 18:13:22 1992 +0000
+++ b/src/emacs.c	Sun May 10 18:15:10 1992 +0000
@@ -721,7 +721,10 @@
   /* It's okay to use getenv here, because this function is only used
      to initialize variables when Emacs starts up, and isn't called
      after that.  */
-  path = (char *) getenv (evarname);
+  if (evarname != 0)
+    path = (char *) getenv (evarname);
+  else
+    path = 0;
   if (!path)
     path = defalt;
   lpath = Qnil;