diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 12 |
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 | ||
| 1312 | DEFUN ("raise-frame", Fraise_frame, Sraise_frame, 1, 1, 0, | 1312 | DEFUN ("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\ |
| 1314 | If FRAME is invisible, make it visible.\n\ | 1314 | If FRAME is invisible, make it visible.\n\ |
| 1315 | If you don't specify a frame, the selected frame is used.\n\ | ||
| 1315 | If Emacs is displaying on an ordinary terminal or some other device which\n\ | 1316 | If Emacs is displaying on an ordinary terminal or some other device which\n\ |
| 1316 | doesn't support multiple overlapping frames, this function does nothing.") | 1317 | doesn'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? */ |
| 1332 | DEFUN ("lower-frame", Flower_frame, Slower_frame, 1, 1, 0, | 1336 | DEFUN ("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\ |
| 1338 | If you don't specify a frame, the selected frame is used.\n\ | ||
| 1334 | If Emacs is displaying on an ordinary terminal or some other device which\n\ | 1339 | If Emacs is displaying on an ordinary terminal or some other device which\n\ |
| 1335 | doesn't support multiple overlapping frames, this function does nothing.") | 1340 | doesn'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) |