diff options
| author | Richard M. Stallman | 1993-06-05 17:03:08 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-06-05 17:03:08 +0000 |
| commit | cef28359c7c7b1658087a85319630fcfb7141368 (patch) | |
| tree | be07a152defea9f522084f91b14c2dcad3cd273c /src | |
| parent | 65a91500aa6b52fe2d4db8ea1094a498009f7f54 (diff) | |
| download | emacs-cef28359c7c7b1658087a85319630fcfb7141368.tar.gz emacs-cef28359c7c7b1658087a85319630fcfb7141368.zip | |
(Frubber_band_rectangle): Deleted.
(syms_of_frame): Don't defsubr it.
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/frame.c b/src/frame.c index 00cb7cdf06f..952cc65f7ff 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -1372,46 +1372,6 @@ off the screen.") | |||
| 1372 | } | 1372 | } |
| 1373 | 1373 | ||
| 1374 | 1374 | ||
| 1375 | #ifndef HAVE_X11 | ||
| 1376 | DEFUN ("rubber-band-rectangle", Frubber_band_rectangle, Srubber_band_rectangle, | ||
| 1377 | 3, 3, "", | ||
| 1378 | "Ask user to specify a window position and size on FRAME with the mouse.\n\ | ||
| 1379 | Arguments are FRAME, NAME and GEO. NAME is a name to be displayed as\n\ | ||
| 1380 | the purpose of this rectangle. GEO is an X-windows size spec that can\n\ | ||
| 1381 | specify defaults for some sizes/positions. If GEO specifies everything,\n\ | ||
| 1382 | the mouse is not used.\n\ | ||
| 1383 | Returns a list of five values: (FRAME LEFT TOP WIDTH HEIGHT).") | ||
| 1384 | (frame, name, geo) | ||
| 1385 | Lisp_Object frame; | ||
| 1386 | Lisp_Object name; | ||
| 1387 | Lisp_Object geo; | ||
| 1388 | { | ||
| 1389 | int vals[4]; | ||
| 1390 | Lisp_Object nums[4]; | ||
| 1391 | int i; | ||
| 1392 | |||
| 1393 | CHECK_FRAME (frame, 0); | ||
| 1394 | CHECK_STRING (name, 1); | ||
| 1395 | CHECK_STRING (geo, 2); | ||
| 1396 | |||
| 1397 | switch (XFRAME (frame)->output_method) | ||
| 1398 | { | ||
| 1399 | case output_x_window: | ||
| 1400 | x_rubber_band (XFRAME (frame), &vals[0], &vals[1], &vals[2], &vals[3], | ||
| 1401 | XSTRING (geo)->data, XSTRING (name)->data); | ||
| 1402 | break; | ||
| 1403 | |||
| 1404 | default: | ||
| 1405 | return Qnil; | ||
| 1406 | } | ||
| 1407 | |||
| 1408 | for (i = 0; i < 4; i++) | ||
| 1409 | XFASTINT (nums[i]) = vals[i]; | ||
| 1410 | return Fcons (frame, Flist (4, nums)); | ||
| 1411 | return Qnil; | ||
| 1412 | } | ||
| 1413 | #endif /* not HAVE_X11 */ | ||
| 1414 | |||
| 1415 | choose_minibuf_frame () | 1375 | choose_minibuf_frame () |
| 1416 | { | 1376 | { |
| 1417 | /* For lowest-level minibuf, put it on currently selected frame | 1377 | /* For lowest-level minibuf, put it on currently selected frame |
| @@ -1530,9 +1490,6 @@ For values specific to the separate minibuffer frame, see\n\ | |||
| 1530 | defsubr (&Sset_frame_width); | 1490 | defsubr (&Sset_frame_width); |
| 1531 | defsubr (&Sset_frame_size); | 1491 | defsubr (&Sset_frame_size); |
| 1532 | defsubr (&Sset_frame_position); | 1492 | defsubr (&Sset_frame_position); |
| 1533 | #ifndef HAVE_X11 | ||
| 1534 | defsubr (&Srubber_band_rectangle); | ||
| 1535 | #endif /* HAVE_X11 */ | ||
| 1536 | } | 1493 | } |
| 1537 | 1494 | ||
| 1538 | keys_of_frame () | 1495 | keys_of_frame () |