aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-09-02 16:20:15 +0000
committerRichard M. Stallman1995-09-02 16:20:15 +0000
commit91b0b37e2aec81015f6db3a43c80103d4e7a8375 (patch)
tree3535867a8a9ce6f44a87db87d9e4e2edf439921d /src
parent64aba29c64744f55f0101067d44387f3a2e98431 (diff)
downloademacs-91b0b37e2aec81015f6db3a43c80103d4e7a8375.tar.gz
emacs-91b0b37e2aec81015f6db3a43c80103d4e7a8375.zip
[!MULTI_FRAME] (Factive_minibuffer_window): New function.
[!MULTI_FRAME] (syms_of_frame): defsubr it.
Diffstat (limited to 'src')
-rw-r--r--src/frame.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c
index 11a0d58c919..304fe8a879a 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -2091,6 +2091,16 @@ DEFUN ("selected-frame", Fselected_frame, Sselected_frame, 0, 0, 0,
2091 return tem; 2091 return tem;
2092} 2092}
2093 2093
2094DEFUN ("active-minibuffer-window", Factive_minibuffer_window,
2095 Sactive_minibuffer_window, 0, 0, 0,
2096 /* Don't confuse make-docfile by having two doc strings for this function.
2097 make-docfile does not pay attention to #if, for good reason! */
2098 0)
2099 ()
2100{
2101 return minibuf_level ? minibuf_window : Qnil;
2102}
2103
2094DEFUN ("window-frame", Fwindow_frame, Swindow_frame, 1, 1, 0, 2104DEFUN ("window-frame", Fwindow_frame, Swindow_frame, 1, 1, 0,
2095 /* Don't confuse make-docfile by having two doc strings for this function. 2105 /* Don't confuse make-docfile by having two doc strings for this function.
2096 make-docfile does not pay attention to #if, for good reason! */ 2106 make-docfile does not pay attention to #if, for good reason! */
@@ -2429,6 +2439,7 @@ syms_of_frame ()
2429 XSETFASTINT (Vterminal_frame, 0); 2439 XSETFASTINT (Vterminal_frame, 0);
2430 2440
2431 defsubr (&Sselected_frame); 2441 defsubr (&Sselected_frame);
2442 defsubr (&Sactive_minibuffer_window);
2432 defsubr (&Swindow_frame); 2443 defsubr (&Swindow_frame);
2433 defsubr (&Sframe_first_window); 2444 defsubr (&Sframe_first_window);
2434 defsubr (&Sframep); 2445 defsubr (&Sframep);