# HG changeset patch # User Paul Eggert # Date 1019583636 0 # Node ID 8180d4f92b701800ecef46743152da9dfc301644 # Parent c00838d6756f962999e76785aed19d736df26636 (init_buffer): Fix PWD comment. diff -r c00838d6756f -r 8180d4f92b70 src/buffer.c --- a/src/buffer.c Tue Apr 23 17:34:54 2002 +0000 +++ b/src/buffer.c Tue Apr 23 17:40:36 2002 +0000 @@ -4973,8 +4973,9 @@ if (NILP (buffer_defaults.enable_multibyte_characters)) Fset_buffer_multibyte (Qnil); - /* If PWD is accurate, use it instead of calling getwd. This is faster - when PWD is right, and may avoid a fatal error. */ + /* If PWD is accurate, use it instead of calling getwd. PWD is + sometimes a nicer name, and using it may avoid a fatal error if a + parent directory is searchable but not readable. */ if ((pwd = getenv ("PWD")) != 0 && (IS_DIRECTORY_SEP (*pwd) || (*pwd && IS_DEVICE_SEP (pwd[1]))) && stat (pwd, &pwdstat) == 0