]> code.delx.au - gnu-emacs/blobdiff - src/sysdep.c
(Fcompleting_read): Doc fix.
[gnu-emacs] / src / sysdep.c
index 339a3c2941a1e77d2401a7bb1e839f5700f9949c..1be3c62c1daaaf413a618d97b00d0e3b4b15f0c7 100644 (file)
@@ -2033,7 +2033,7 @@ wait_for_kbd_input ()
            {
              update_mode_lines++;
              prepare_menu_bars ();
-             redisplay_preserve_echo_area ();
+             redisplay_preserve_echo_area (18);
            }
        }
     }
@@ -3349,7 +3349,10 @@ getwd (pathname)
   BLOCK_INPUT;                 /* getcwd uses malloc */
   spath = npath = getcwd ((char *) 0, MAXPATHLEN);
   if (spath == 0)
-    return spath;
+    {
+      UNBLOCK_INPUT;
+      return spath;
+    }
   /* On Altos 3068, getcwd can return @hostname/dir, so discard
      up to first slash.  Should be harmless on other systems.  */
   while (*npath && *npath != '/')