diff options
| author | Karl Heuer | 1994-03-14 21:59:39 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-03-14 21:59:39 +0000 |
| commit | 9597f4b8a385407cfcfa287ef5133c0d15954a2a (patch) | |
| tree | d0a4f9d7d3b14f331f9ef1bfafcd0f7a874df124 /src | |
| parent | 51ab806af8525648a343a6f4d481f1b3211965dd (diff) | |
| download | emacs-9597f4b8a385407cfcfa287ef5133c0d15954a2a.tar.gz emacs-9597f4b8a385407cfcfa287ef5133c0d15954a2a.zip | |
(framep, selected-frame, frame-char-height, frame-char-width,
frame-pixel-height, frame-pixel-width, set-frame-height, set-frame-width,
set-frame-size): Delete docstring of second version of each function, to avoid
confusing make-docfile.
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 53 |
1 files changed, 27 insertions, 26 deletions
diff --git a/src/frame.c b/src/frame.c index 5c6bffd05a9..e7bdc953fb3 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -1620,7 +1620,9 @@ keys_of_frame () | |||
| 1620 | set-frame-width doesn't help compatibility any, since they both | 1620 | set-frame-width doesn't help compatibility any, since they both |
| 1621 | want this as their first argument. */ | 1621 | want this as their first argument. */ |
| 1622 | DEFUN ("selected-frame", Fselected_frame, Sselected_frame, 0, 0, 0, | 1622 | DEFUN ("selected-frame", Fselected_frame, Sselected_frame, 0, 0, 0, |
| 1623 | "Return the frame that is now selected.") | 1623 | /* Don't confuse make-docfile by having two doc strings for this function. |
| 1624 | make-docfile does not pay attention to #if, for good reason! */ | ||
| 1625 | 0) | ||
| 1624 | () | 1626 | () |
| 1625 | { | 1627 | { |
| 1626 | Lisp_Object tem; | 1628 | Lisp_Object tem; |
| @@ -1628,10 +1630,9 @@ DEFUN ("selected-frame", Fselected_frame, Sselected_frame, 0, 0, 0, | |||
| 1628 | return tem; | 1630 | return tem; |
| 1629 | } | 1631 | } |
| 1630 | DEFUN ("framep", Fframep, Sframep, 1, 1, 0, | 1632 | DEFUN ("framep", Fframep, Sframep, 1, 1, 0, |
| 1631 | "Return non-nil if OBJECT is a frame.\n\ | 1633 | /* Don't confuse make-docfile by having two doc strings for this function. |
| 1632 | Value is t for a termcap frame (a character-only terminal),\n\ | 1634 | make-docfile does not pay attention to #if, for good reason! */ |
| 1633 | `x' for an Emacs frame that is really an X window.\n\ | 1635 | 0) |
| 1634 | Also see `live-frame-p'.") | ||
| 1635 | (object) | 1636 | (object) |
| 1636 | Lisp_Object object; | 1637 | Lisp_Object object; |
| 1637 | { | 1638 | { |
| @@ -1639,9 +1640,9 @@ Also see `live-frame-p'.") | |||
| 1639 | } | 1640 | } |
| 1640 | 1641 | ||
| 1641 | DEFUN ("set-frame-height", Fset_frame_height, Sset_frame_height, 2, 3, 0, | 1642 | DEFUN ("set-frame-height", Fset_frame_height, Sset_frame_height, 2, 3, 0, |
| 1642 | "Specify that the frame FRAME has LINES lines.\n\ | 1643 | /* Don't confuse make-docfile by having two doc strings for this function. |
| 1643 | Optional third arg non-nil means that redisplay should use LINES lines\n\ | 1644 | make-docfile does not pay attention to #if, for good reason! */ |
| 1644 | but that the idea of the actual height of the frame should not be changed.") | 1645 | 0) |
| 1645 | (frame, rows, pretend) | 1646 | (frame, rows, pretend) |
| 1646 | Lisp_Object frame, rows, pretend; | 1647 | Lisp_Object frame, rows, pretend; |
| 1647 | { | 1648 | { |
| @@ -1652,9 +1653,9 @@ but that the idea of the actual height of the frame should not be changed.") | |||
| 1652 | } | 1653 | } |
| 1653 | 1654 | ||
| 1654 | DEFUN ("set-frame-width", Fset_frame_width, Sset_frame_width, 2, 3, 0, | 1655 | DEFUN ("set-frame-width", Fset_frame_width, Sset_frame_width, 2, 3, 0, |
| 1655 | "Specify that the frame FRAME has COLS columns.\n\ | 1656 | /* Don't confuse make-docfile by having two doc strings for this function. |
| 1656 | Optional third arg non-nil means that redisplay should use COLS columns\n\ | 1657 | make-docfile does not pay attention to #if, for good reason! */ |
| 1657 | but that the idea of the actual width of the frame should not be changed.") | 1658 | 0) |
| 1658 | (frame, cols, pretend) | 1659 | (frame, cols, pretend) |
| 1659 | Lisp_Object frame, cols, pretend; | 1660 | Lisp_Object frame, cols, pretend; |
| 1660 | { | 1661 | { |
| @@ -1665,7 +1666,9 @@ but that the idea of the actual width of the frame should not be changed.") | |||
| 1665 | } | 1666 | } |
| 1666 | 1667 | ||
| 1667 | DEFUN ("set-frame-size", Fset_frame_size, Sset_frame_size, 3, 3, 0, | 1668 | DEFUN ("set-frame-size", Fset_frame_size, Sset_frame_size, 3, 3, 0, |
| 1668 | "Sets size of FRAME to COLS by ROWS, measured in characters.") | 1669 | /* Don't confuse make-docfile by having two doc strings for this function. |
| 1670 | make-docfile does not pay attention to #if, for good reason! */ | ||
| 1671 | 0) | ||
| 1669 | (frame, cols, rows) | 1672 | (frame, cols, rows) |
| 1670 | Lisp_Object frame, cols, rows; | 1673 | Lisp_Object frame, cols, rows; |
| 1671 | { | 1674 | { |
| @@ -1697,9 +1700,9 @@ If FRAME is omitted, describe the currently selected frame.") | |||
| 1697 | 1700 | ||
| 1698 | DEFUN ("frame-char-height", Fframe_char_height, Sframe_char_height, | 1701 | DEFUN ("frame-char-height", Fframe_char_height, Sframe_char_height, |
| 1699 | 0, 1, 0, | 1702 | 0, 1, 0, |
| 1700 | "Height in pixels of a line in the font in frame FRAME.\n\ | 1703 | /* Don't confuse make-docfile by having two doc strings for this function. |
| 1701 | If FRAME is omitted, the selected frame is used.\n\ | 1704 | make-docfile does not pay attention to #if, for good reason! */ |
| 1702 | For a terminal frame, the value is always 1.") | 1705 | 0) |
| 1703 | (frame) | 1706 | (frame) |
| 1704 | Lisp_Object frame; | 1707 | Lisp_Object frame; |
| 1705 | { | 1708 | { |
| @@ -1709,11 +1712,9 @@ For a terminal frame, the value is always 1.") | |||
| 1709 | 1712 | ||
| 1710 | DEFUN ("frame-char-width", Fframe_char_width, Sframe_char_width, | 1713 | DEFUN ("frame-char-width", Fframe_char_width, Sframe_char_width, |
| 1711 | 0, 1, 0, | 1714 | 0, 1, 0, |
| 1712 | "Width in pixels of characters in the font in frame FRAME.\n\ | 1715 | /* Don't confuse make-docfile by having two doc strings for this function. |
| 1713 | If FRAME is omitted, the selected frame is used.\n\ | 1716 | make-docfile does not pay attention to #if, for good reason! */ |
| 1714 | The width is the same for all characters, because\n\ | 1717 | 0) |
| 1715 | currently Emacs supports only fixed-width fonts.\n\ | ||
| 1716 | For a terminal screen, the value is always 1.") | ||
| 1717 | (frame) | 1718 | (frame) |
| 1718 | Lisp_Object frame; | 1719 | Lisp_Object frame; |
| 1719 | { | 1720 | { |
| @@ -1722,9 +1723,9 @@ For a terminal screen, the value is always 1.") | |||
| 1722 | 1723 | ||
| 1723 | DEFUN ("frame-pixel-height", Fframe_pixel_height, | 1724 | DEFUN ("frame-pixel-height", Fframe_pixel_height, |
| 1724 | Sframe_pixel_height, 0, 1, 0, | 1725 | Sframe_pixel_height, 0, 1, 0, |
| 1725 | "Return FRAME's height in pixels.\n\ | 1726 | /* Don't confuse make-docfile by having two doc strings for this function. |
| 1726 | For a terminal frame, the result really gives the height in characters.\n\ | 1727 | make-docfile does not pay attention to #if, for good reason! */ |
| 1727 | If FRAME is omitted, the selected frame is used.") | 1728 | 0) |
| 1728 | (frame) | 1729 | (frame) |
| 1729 | Lisp_Object frame; | 1730 | Lisp_Object frame; |
| 1730 | { | 1731 | { |
| @@ -1733,9 +1734,9 @@ If FRAME is omitted, the selected frame is used.") | |||
| 1733 | 1734 | ||
| 1734 | DEFUN ("frame-pixel-width", Fframe_pixel_width, | 1735 | DEFUN ("frame-pixel-width", Fframe_pixel_width, |
| 1735 | Sframe_pixel_width, 0, 1, 0, | 1736 | Sframe_pixel_width, 0, 1, 0, |
| 1736 | "Return FRAME's width in pixels.\n\ | 1737 | /* Don't confuse make-docfile by having two doc strings for this function. |
| 1737 | For a terminal frame, the result really gives the width in characters.\n\ | 1738 | make-docfile does not pay attention to #if, for good reason! */ |
| 1738 | If FRAME is omitted, the selected frame is used.") | 1739 | 0) |
| 1739 | (frame) | 1740 | (frame) |
| 1740 | Lisp_Object frame; | 1741 | Lisp_Object frame; |
| 1741 | { | 1742 | { |