aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Teirlinck2005-06-10 02:22:11 +0000
committerLuc Teirlinck2005-06-10 02:22:11 +0000
commit20dc6fbbe0577a26d14489bc5c4d557a76c71052 (patch)
treecb8a9c7315ba4d7f75576935742e1931404b79c1
parent63e88db35a9388d7f74266a72187ad3bf22656cc (diff)
downloademacs-20dc6fbbe0577a26d14489bc5c4d557a76c71052.tar.gz
emacs-20dc6fbbe0577a26d14489bc5c4d557a76c71052.zip
(Fhandle_switch_frame, Fselect_frame): Delete unused arg no_enter.
(Fset_mouse_position, Fset_mouse_pixel_position, Ficonify_frame): Adapt to above change.
-rw-r--r--src/frame.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/frame.c b/src/frame.c
index d757e935752..16810c21739 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -729,7 +729,7 @@ do_switch_frame (frame, track, for_deletion)
729 return frame; 729 return frame;
730} 730}
731 731
732DEFUN ("select-frame", Fselect_frame, Sselect_frame, 1, 2, "e", 732DEFUN ("select-frame", Fselect_frame, Sselect_frame, 1, 1, "e",
733 doc: /* Select the frame FRAME. 733 doc: /* Select the frame FRAME.
734Subsequent editing commands apply to its selected window. 734Subsequent editing commands apply to its selected window.
735The selection of FRAME lasts until the next time the user does 735The selection of FRAME lasts until the next time the user does
@@ -740,14 +740,14 @@ the command loop, because it still may have the window system's input
740focus. On a text-only terminal, the next redisplay will display FRAME. 740focus. On a text-only terminal, the next redisplay will display FRAME.
741 741
742This function returns FRAME, or nil if FRAME has been deleted. */) 742This function returns FRAME, or nil if FRAME has been deleted. */)
743 (frame, no_enter) 743 (frame)
744 Lisp_Object frame, no_enter; 744 Lisp_Object frame;
745{ 745{
746 return do_switch_frame (frame, 1, 0); 746 return do_switch_frame (frame, 1, 0);
747} 747}
748 748
749 749
750DEFUN ("handle-switch-frame", Fhandle_switch_frame, Shandle_switch_frame, 1, 2, "e", 750DEFUN ("handle-switch-frame", Fhandle_switch_frame, Shandle_switch_frame, 1, 1, "e",
751 doc: /* Handle a switch-frame event EVENT. 751 doc: /* Handle a switch-frame event EVENT.
752Switch-frame events are usually bound to this function. 752Switch-frame events are usually bound to this function.
753A switch-frame event tells Emacs that the window manager has requested 753A switch-frame event tells Emacs that the window manager has requested
@@ -756,8 +756,8 @@ This function selects the selected window of the frame of EVENT.
756 756
757If EVENT is frame object, handle it as if it were a switch-frame event 757If EVENT is frame object, handle it as if it were a switch-frame event
758to that frame. */) 758to that frame. */)
759 (event, no_enter) 759 (event)
760 Lisp_Object event, no_enter; 760 Lisp_Object event;
761{ 761{
762 /* Preserve prefix arg that the command loop just cleared. */ 762 /* Preserve prefix arg that the command loop just cleared. */
763 current_kboard->Vprefix_arg = Vcurrent_prefix_arg; 763 current_kboard->Vprefix_arg = Vcurrent_prefix_arg;
@@ -1530,7 +1530,7 @@ before calling this function on it, like this.
1530#if defined (MSDOS) && defined (HAVE_MOUSE) 1530#if defined (MSDOS) && defined (HAVE_MOUSE)
1531 if (FRAME_MSDOS_P (XFRAME (frame))) 1531 if (FRAME_MSDOS_P (XFRAME (frame)))
1532 { 1532 {
1533 Fselect_frame (frame, Qnil); 1533 Fselect_frame (frame);
1534 mouse_moveto (XINT (x), XINT (y)); 1534 mouse_moveto (XINT (x), XINT (y));
1535 } 1535 }
1536#endif 1536#endif
@@ -1562,7 +1562,7 @@ before calling this function on it, like this.
1562#if defined (MSDOS) && defined (HAVE_MOUSE) 1562#if defined (MSDOS) && defined (HAVE_MOUSE)
1563 if (FRAME_MSDOS_P (XFRAME (frame))) 1563 if (FRAME_MSDOS_P (XFRAME (frame)))
1564 { 1564 {
1565 Fselect_frame (frame, Qnil); 1565 Fselect_frame (frame);
1566 mouse_moveto (XINT (x), XINT (y)); 1566 mouse_moveto (XINT (x), XINT (y));
1567 } 1567 }
1568#endif 1568#endif
@@ -1684,7 +1684,7 @@ If omitted, FRAME defaults to the currently selected frame. */)
1684#if 0 /* This isn't logically necessary, and it can do GC. */ 1684#if 0 /* This isn't logically necessary, and it can do GC. */
1685 /* Don't let the frame remain selected. */ 1685 /* Don't let the frame remain selected. */
1686 if (EQ (frame, selected_frame)) 1686 if (EQ (frame, selected_frame))
1687 Fhandle_switch_frame (next_frame (frame, Qt), Qnil); 1687 Fhandle_switch_frame (next_frame (frame, Qt));
1688#endif 1688#endif
1689 1689
1690 /* Don't allow minibuf_window to remain on a deleted frame. */ 1690 /* Don't allow minibuf_window to remain on a deleted frame. */