comparison src/frame.c @ 65976:c332e9c9e66d

(Fredirect_frame_focus): Fix typos in docstring. (next_frame, prev_frame, set_term_frame_name): Make static.
author Juanma Barranquero <lekktu@gmail.com>
date Mon, 10 Oct 2005 14:52:50 +0000
parents a0d1312ede66
children c0002338a5e8 08b4dd6a6e87 5e2d3828e89f
comparison
equal deleted inserted replaced
65975:a234d371d212 65976:c332e9c9e66d
899 and any frame now using that window as the minibuffer. 899 and any frame now using that window as the minibuffer.
900 If MINIBUF is `visible', include all visible frames. 900 If MINIBUF is `visible', include all visible frames.
901 If MINIBUF is 0, include all visible and iconified frames. 901 If MINIBUF is 0, include all visible and iconified frames.
902 Otherwise, include all frames. */ 902 Otherwise, include all frames. */
903 903
904 Lisp_Object 904 static Lisp_Object
905 next_frame (frame, minibuf) 905 next_frame (frame, minibuf)
906 Lisp_Object frame; 906 Lisp_Object frame;
907 Lisp_Object minibuf; 907 Lisp_Object minibuf;
908 { 908 {
909 Lisp_Object tail; 909 Lisp_Object tail;
976 and any frame now using that window as the minibuffer. 976 and any frame now using that window as the minibuffer.
977 If MINIBUF is `visible', include all visible frames. 977 If MINIBUF is `visible', include all visible frames.
978 If MINIBUF is 0, include all visible and iconified frames. 978 If MINIBUF is 0, include all visible and iconified frames.
979 Otherwise, include all frames. */ 979 Otherwise, include all frames. */
980 980
981 Lisp_Object 981 static Lisp_Object
982 prev_frame (frame, minibuf) 982 prev_frame (frame, minibuf)
983 Lisp_Object frame; 983 Lisp_Object frame;
984 Lisp_Object minibuf; 984 Lisp_Object minibuf;
985 { 985 {
986 Lisp_Object tail; 986 Lisp_Object tail;
1811 1811
1812 Focus redirection is useful for temporarily redirecting keystrokes to 1812 Focus redirection is useful for temporarily redirecting keystrokes to
1813 a surrogate minibuffer frame when a frame doesn't have its own 1813 a surrogate minibuffer frame when a frame doesn't have its own
1814 minibuffer window. 1814 minibuffer window.
1815 1815
1816 A frame's focus redirection can be changed by select-frame. If frame 1816 A frame's focus redirection can be changed by `select-frame'. If frame
1817 FOO is selected, and then a different frame BAR is selected, any 1817 FOO is selected, and then a different frame BAR is selected, any
1818 frames redirecting their focus to FOO are shifted to redirect their 1818 frames redirecting their focus to FOO are shifted to redirect their
1819 focus to BAR. This allows focus redirection to work properly when the 1819 focus to BAR. This allows focus redirection to work properly when the
1820 user switches from one frame to another using `select-window'. 1820 user switches from one frame to another using `select-window'.
1821 1821
1822 This means that a frame whose focus is redirected to itself is treated 1822 This means that a frame whose focus is redirected to itself is treated
1823 differently from a frame whose focus is redirected to nil; the former 1823 differently from a frame whose focus is redirected to nil; the former
1824 is affected by select-frame, while the latter is not. 1824 is affected by `select-frame', while the latter is not.
1825 1825
1826 The redirection lasts until `redirect-frame-focus' is called to change it. */) 1826 The redirection lasts until `redirect-frame-focus' is called to change it. */)
1827 (frame, focus_frame) 1827 (frame, focus_frame)
1828 Lisp_Object frame, focus_frame; 1828 Lisp_Object frame, focus_frame;
1829 { 1829 {
1950 } 1950 }
1951 1951
1952 /* Set the name of the terminal frame. Also used by MSDOS frames. 1952 /* Set the name of the terminal frame. Also used by MSDOS frames.
1953 Modeled after x_set_name which is used for WINDOW frames. */ 1953 Modeled after x_set_name which is used for WINDOW frames. */
1954 1954
1955 void 1955 static void
1956 set_term_frame_name (f, name) 1956 set_term_frame_name (f, name)
1957 struct frame *f; 1957 struct frame *f;
1958 Lisp_Object name; 1958 Lisp_Object name;
1959 { 1959 {
1960 f->explicit_name = ! NILP (name); 1960 f->explicit_name = ! NILP (name);