aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-01-05 22:19:54 +0000
committerRichard M. Stallman1995-01-05 22:19:54 +0000
commit6e18b6c220b17ce0ca5653b5595cb474d9b7a550 (patch)
treeb1f0cd6a070839c75822390f046a0a5b15f78284 /src
parent165d7ff45e8a659d2eb6978bc68cc5e74808fdb2 (diff)
downloademacs-6e18b6c220b17ce0ca5653b5595cb474d9b7a550.tar.gz
emacs-6e18b6c220b17ce0ca5653b5595cb474d9b7a550.zip
[!MULTI_FRAME] (window_frame): New function.
[!MULTI_FRAME] (syms_of_frame): defsubr it.
Diffstat (limited to 'src')
-rw-r--r--src/frame.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c
index 7ad3c1fbe44..a591f69252d 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -1890,6 +1890,20 @@ DEFUN ("selected-frame", Fselected_frame, Sselected_frame, 0, 0, 0,
1890 return tem; 1890 return tem;
1891} 1891}
1892 1892
1893DEFUN ("window-frame", Fwindow_frame, Swindow_frame, 1, 1, 0,
1894 /* Don't confuse make-docfile by having two doc strings for this function.
1895 make-docfile does not pay attention to #if, for good reason! */
1896 0)
1897 (window)
1898 Lisp_Object window;
1899{
1900 /* For your possible information, this code is unfolded into the
1901 second WINDOW_FRAME in frame.h. */
1902 Lisp_Object tem;
1903 XSETFASTINT (tem, 0);
1904 return tem;
1905}
1906
1893DEFUN ("frame-first-window", Fframe_first_window, Sframe_first_window, 0, 1, 0, 1907DEFUN ("frame-first-window", Fframe_first_window, Sframe_first_window, 0, 1, 0,
1894 0) 1908 0)
1895 (frame) 1909 (frame)
@@ -2201,6 +2215,7 @@ syms_of_frame ()
2201 XSETFASTINT (Vterminal_frame, 0); 2215 XSETFASTINT (Vterminal_frame, 0);
2202 2216
2203 defsubr (&Sselected_frame); 2217 defsubr (&Sselected_frame);
2218 defsubr (&Swindow_frame);
2204 defsubr (&Sframe_first_window); 2219 defsubr (&Sframe_first_window);
2205 defsubr (&Sframep); 2220 defsubr (&Sframep);
2206 defsubr (&Sframe_char_height); 2221 defsubr (&Sframe_char_height);