/[emacs]/emacs/src/w32.c
ViewVC logotype

Diff of /emacs/src/w32.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.68 by monnier, Fri Oct 12 03:26:20 2001 UTC revision 1.69 by eliz, Wed Dec 19 18:56:44 2001 UTC
# Line 875  init_environment (char ** argv) Line 875  init_environment (char ** argv)
875    init_user_info ();    init_user_info ();
876  }  }
877    
878    char *
879    emacs_root_dir (void)
880    {
881      static char root_dir[FILENAME_MAX];
882      const char *p;
883    
884      p = getenv ("emacs_dir");
885      if (p == NULL)
886        abort ();
887      strcpy (root_dir, p);
888      root_dir[parse_root (root_dir, NULL)] = '\0';
889      dostounix_filename (root_dir);
890      return root_dir;
891    }
892    
893  /* We don't have scripts to automatically determine the system configuration  /* We don't have scripts to automatically determine the system configuration
894     for Emacs before it's compiled, and we don't want to have to make the     for Emacs before it's compiled, and we don't want to have to make the
895     user enter it, so we define EMACS_CONFIGURATION to invoke this runtime     user enter it, so we define EMACS_CONFIGURATION to invoke this runtime

Legend:
Removed from v.1.68  
changed lines
  Added in v.1.69

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26