mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-06 05:52:32 -08:00
(init_buffer): Init default-directory of minibuffer.
This commit is contained in:
parent
46564c8d17
commit
136351b742
1 changed files with 4 additions and 0 deletions
|
|
@ -1972,6 +1972,7 @@ init_buffer ()
|
|||
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 @@ init_buffer ()
|
|||
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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue