Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
136351b7
Commit
136351b7
authored
Jun 03, 1993
by
Richard M. Stallman
Browse files
(init_buffer): Init default-directory of minibuffer.
parent
46564c8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/buffer.c
src/buffer.c
+4
-0
No files found.
src/buffer.c
View file @
136351b7
...
...
@@ -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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment