Mercurial > emacs
diff src/buffer.c @ 3463:aa78c7babb8e
(init_buffer): Init default-directory of minibuffer.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 03 Jun 1993 22:07:18 +0000 |
parents | c9443f73d329 |
children | 56424e6245c2 |
line wrap: on
line diff
--- a/src/buffer.c Thu Jun 03 21:02:22 1993 +0000 +++ b/src/buffer.c Thu Jun 03 22:07:18 1993 +0000 @@ -1972,6 +1972,7 @@ char buf[MAXPATHLEN+1]; char *pwd; struct stat dotstat, pwdstat; + Lisp_Object temp; Fset_buffer (Fget_buffer_create (build_string ("*scratch*"))); @@ -1994,6 +1995,9 @@ strcat (buf, "/"); #endif /* not VMS */ current_buffer->directory = build_string (buf); + + temp = get_minibuffer (0); + XBUFFER (temp)->directory = current_buffer->directory; } /* initialize the buffer routines */