diff options
| author | Luc Teirlinck | 2004-07-24 20:44:06 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2004-07-24 20:44:06 +0000 |
| commit | e4ed805e9d3b9f2019cb9376682bb53dafaf81fb (patch) | |
| tree | addf2757e95453f6dee310d8613fd2cd39c05caa /src | |
| parent | 38f442c6259c98f519da00ffe8bf7f955a1ebb0a (diff) | |
| download | emacs-e4ed805e9d3b9f2019cb9376682bb53dafaf81fb.tar.gz emacs-e4ed805e9d3b9f2019cb9376682bb53dafaf81fb.zip | |
(Fselect_frame, Fset_frame_selected_window)
(Fframe_visible_p, Fraise_frame): Doc fixes.
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/src/frame.c b/src/frame.c index 691ff8c44d5..78d803abc8d 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Generic frame functions. | 1 | /* Generic frame functions. |
| 2 | Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001, 2003 | 2 | Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001, 2003, 2004 |
| 3 | Free Software Foundation. | 3 | Free Software Foundation. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| @@ -733,7 +733,12 @@ DEFUN ("select-frame", Fselect_frame, Sselect_frame, 1, 2, "e", | |||
| 733 | Subsequent editing commands apply to its selected window. | 733 | Subsequent editing commands apply to its selected window. |
| 734 | The selection of FRAME lasts until the next time the user does | 734 | The selection of FRAME lasts until the next time the user does |
| 735 | something to select a different frame, or until the next time this | 735 | something to select a different frame, or until the next time this |
| 736 | function is called. */) | 736 | function is called. If you are using a window system, the previously |
| 737 | selected frame may be restored as the selected frame after return to | ||
| 738 | the command loop, because it still may have the window system's input | ||
| 739 | focus. On a text-only terminal, the next redisplay will display FRAME. | ||
| 740 | |||
| 741 | This function returns FRAME, or nil if FRAME has been deleted. */) | ||
| 737 | (frame, no_enter) | 742 | (frame, no_enter) |
| 738 | Lisp_Object frame, no_enter; | 743 | Lisp_Object frame, no_enter; |
| 739 | { | 744 | { |
| @@ -861,6 +866,7 @@ If omitted, FRAME defaults to the currently selected frame. */) | |||
| 861 | DEFUN ("set-frame-selected-window", Fset_frame_selected_window, | 866 | DEFUN ("set-frame-selected-window", Fset_frame_selected_window, |
| 862 | Sset_frame_selected_window, 2, 2, 0, | 867 | Sset_frame_selected_window, 2, 2, 0, |
| 863 | doc: /* Set the selected window of frame object FRAME to WINDOW. | 868 | doc: /* Set the selected window of frame object FRAME to WINDOW. |
| 869 | Return WINDOW. | ||
| 864 | If FRAME is nil, the selected frame is used. | 870 | If FRAME is nil, the selected frame is used. |
| 865 | If FRAME is the selected frame, this makes WINDOW the selected window. */) | 871 | If FRAME is the selected frame, this makes WINDOW the selected window. */) |
| 866 | (frame, window) | 872 | (frame, window) |
| @@ -1711,7 +1717,11 @@ DEFUN ("frame-visible-p", Fframe_visible_p, Sframe_visible_p, | |||
| 1711 | doc: /* Return t if FRAME is now \"visible\" (actually in use for display). | 1717 | doc: /* Return t if FRAME is now \"visible\" (actually in use for display). |
| 1712 | A frame that is not \"visible\" is not updated and, if it works through | 1718 | A frame that is not \"visible\" is not updated and, if it works through |
| 1713 | a window system, it may not show at all. | 1719 | a window system, it may not show at all. |
| 1714 | Return the symbol `icon' if frame is visible only as an icon. */) | 1720 | Return the symbol `icon' if frame is visible only as an icon. |
| 1721 | |||
| 1722 | On a text-only terminal, all frames are considered visible, whether | ||
| 1723 | they are currently being displayed or not, and this function returns t | ||
| 1724 | for all frames. */) | ||
| 1715 | (frame) | 1725 | (frame) |
| 1716 | Lisp_Object frame; | 1726 | Lisp_Object frame; |
| 1717 | { | 1727 | { |
| @@ -1751,7 +1761,7 @@ DEFUN ("visible-frame-list", Fvisible_frame_list, Svisible_frame_list, | |||
| 1751 | 1761 | ||
| 1752 | DEFUN ("raise-frame", Fraise_frame, Sraise_frame, 0, 1, "", | 1762 | DEFUN ("raise-frame", Fraise_frame, Sraise_frame, 0, 1, "", |
| 1753 | doc: /* Bring FRAME to the front, so it occludes any frames it overlaps. | 1763 | doc: /* Bring FRAME to the front, so it occludes any frames it overlaps. |
| 1754 | If FRAME is invisible, make it visible. | 1764 | If FRAME is invisible or iconified, make it visible. |
| 1755 | If you don't specify a frame, the selected frame is used. | 1765 | If you don't specify a frame, the selected frame is used. |
| 1756 | If Emacs is displaying on an ordinary terminal or some other device which | 1766 | If Emacs is displaying on an ordinary terminal or some other device which |
| 1757 | doesn't support multiple overlapping frames, this function does nothing. */) | 1767 | doesn't support multiple overlapping frames, this function does nothing. */) |