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
89fdc4a0
Commit
89fdc4a0
authored
Nov 04, 1995
by
Karl Heuer
Browse files
(choose_minibuf_frame): Moved here from frame.c.
parent
f2b01ed6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
src/minibuf.c
src/minibuf.c
+21
-0
No files found.
src/minibuf.c
View file @
89fdc4a0
...
...
@@ -102,6 +102,27 @@ extern Lisp_Object Vminibuf_scroll_window;
extern
Lisp_Object
Voverriding_local_map
;
/* Put minibuf on currently selected frame's minibuffer.
We do this whenever the user starts a new minibuffer
or when a minibuffer exits. */
void
choose_minibuf_frame
()
{
if
(
selected_frame
!=
0
&&
!
EQ
(
minibuf_window
,
selected_frame
->
minibuffer_window
))
{
/* I don't think that any frames may validly have a null minibuffer
window anymore. */
if
(
NILP
(
selected_frame
->
minibuffer_window
))
abort
();
Fset_window_buffer
(
selected_frame
->
minibuffer_window
,
XWINDOW
(
minibuf_window
)
->
buffer
);
minibuf_window
=
selected_frame
->
minibuffer_window
;
}
}
/* Actual minibuffer invocation. */
void
read_minibuf_unwind
();
...
...
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