From 314dbe9a7f28624812679ebc458f03cf1ba12ab2 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 23 Apr 2002 17:40:36 +0000 Subject: [PATCH] (init_buffer): Fix PWD comment. --- src/buffer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/buffer.c b/src/buffer.c index 6acb2ae624a..b2d8ada9a97 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -4973,8 +4973,9 @@ init_buffer () 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 -- 2.39.5