aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-04-06 02:53:19 +0000
committerRichard M. Stallman1995-04-06 02:53:19 +0000
commit828ac693651e7d87c247d6e736ffddc88ebf0803 (patch)
treeafc8839a40a3642409d5d83d4f0d15f463859c7b /src
parent0760ac9a9d3c7a96ae338fdc1595148964eeab8f (diff)
downloademacs-828ac693651e7d87c247d6e736ffddc88ebf0803.tar.gz
emacs-828ac693651e7d87c247d6e736ffddc88ebf0803.zip
(Fraise_frame, Flower_frame): Now interactive.
Diffstat (limited to 'src')
-rw-r--r--src/frame.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/frame.c b/src/frame.c
index 448e36b2974..31b9115352f 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -1309,14 +1309,18 @@ DEFUN ("visible-frame-list", Fvisible_frame_list, Svisible_frame_list,
1309} 1309}
1310 1310
1311 1311
1312DEFUN ("raise-frame", Fraise_frame, Sraise_frame, 1, 1, 0, 1312DEFUN ("raise-frame", Fraise_frame, Sraise_frame, 1, 1, "",
1313 "Bring FRAME to the front, so it occludes any frames it overlaps.\n\ 1313 "Bring FRAME to the front, so it occludes any frames it overlaps.\n\
1314If FRAME is invisible, make it visible.\n\ 1314If FRAME is invisible, make it visible.\n\
1315If you don't specify a frame, the selected frame is used.\n\
1315If Emacs is displaying on an ordinary terminal or some other device which\n\ 1316If Emacs is displaying on an ordinary terminal or some other device which\n\
1316doesn't support multiple overlapping frames, this function does nothing.") 1317doesn't support multiple overlapping frames, this function does nothing.")
1317 (frame) 1318 (frame)
1318 Lisp_Object frame; 1319 Lisp_Object frame;
1319{ 1320{
1321 if (NILP (frame))
1322 XSETFRAME (frame, selected_frame);
1323
1320 CHECK_LIVE_FRAME (frame, 0); 1324 CHECK_LIVE_FRAME (frame, 0);
1321 1325
1322 /* Do like the documentation says. */ 1326 /* Do like the documentation says. */
@@ -1329,13 +1333,17 @@ doesn't support multiple overlapping frames, this function does nothing.")
1329} 1333}
1330 1334
1331/* Should we have a corresponding function called Flower_Power? */ 1335/* Should we have a corresponding function called Flower_Power? */
1332DEFUN ("lower-frame", Flower_frame, Slower_frame, 1, 1, 0, 1336DEFUN ("lower-frame", Flower_frame, Slower_frame, 1, 1, "",
1333 "Send FRAME to the back, so it is occluded by any frames that overlap it.\n\ 1337 "Send FRAME to the back, so it is occluded by any frames that overlap it.\n\
1338If you don't specify a frame, the selected frame is used.\n\
1334If Emacs is displaying on an ordinary terminal or some other device which\n\ 1339If Emacs is displaying on an ordinary terminal or some other device which\n\
1335doesn't support multiple overlapping frames, this function does nothing.") 1340doesn't support multiple overlapping frames, this function does nothing.")
1336 (frame) 1341 (frame)
1337 Lisp_Object frame; 1342 Lisp_Object frame;
1338{ 1343{
1344 if (NILP (frame))
1345 XSETFRAME (frame, selected_frame);
1346
1339 CHECK_LIVE_FRAME (frame, 0); 1347 CHECK_LIVE_FRAME (frame, 0);
1340 1348
1341 if (frame_raise_lower_hook) 1349 if (frame_raise_lower_hook)