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

Diff of /emacs/src/buffer.c

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

revision 1.381 by gerd, Tue Apr 16 07:34:36 2002 UTC revision 1.382 by eggert, Tue Apr 23 17:40:36 2002 UTC
# Line 4973  init_buffer () Line 4973  init_buffer ()
4973    if (NILP (buffer_defaults.enable_multibyte_characters))    if (NILP (buffer_defaults.enable_multibyte_characters))
4974      Fset_buffer_multibyte (Qnil);      Fset_buffer_multibyte (Qnil);
4975    
4976    /* If PWD is accurate, use it instead of calling getwd.  This is faster    /* If PWD is accurate, use it instead of calling getwd.  PWD is
4977       when PWD is right, and may avoid a fatal error.  */       sometimes a nicer name, and using it may avoid a fatal error if a
4978         parent directory is searchable but not readable.  */
4979    if ((pwd = getenv ("PWD")) != 0    if ((pwd = getenv ("PWD")) != 0
4980        && (IS_DIRECTORY_SEP (*pwd) || (*pwd && IS_DEVICE_SEP (pwd[1])))        && (IS_DIRECTORY_SEP (*pwd) || (*pwd && IS_DEVICE_SEP (pwd[1])))
4981        && stat (pwd, &pwdstat) == 0        && stat (pwd, &pwdstat) == 0

Legend:
Removed from v.1.381  
changed lines
  Added in v.1.382

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