diff options
author | Erik Naggum <erik@naggum.no> | 1996-01-09 00:32:25 +0000 |
---|---|---|
committer | Erik Naggum <erik@naggum.no> | 1996-01-09 00:32:25 +0000 |
commit | e44edc50a94a44457c60b64e462360e2fc285383 (patch) | |
tree | 976fe55e8f460274948b9e63900776a060d25585 /src/frame.c | |
parent | 5913a22a919a8db2c0d729e3816db76a73d84170 (diff) | |
download | emacs-e44edc50a94a44457c60b64e462360e2fc285383.tar.gz |
(Fhandle_switch_frame, Fset_frame_height): Harmonize arguments with
documentation.
Diffstat (limited to 'src/frame.c')
-rw-r--r-- | src/frame.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/frame.c b/src/frame.c index 33bb571fe95..a09b6546083 100644 --- a/src/frame.c +++ b/src/frame.c @@ -626,13 +626,13 @@ This function selects the selected window of the frame of EVENT.\n\ \n\ If EVENT is frame object, handle it as if it were a switch-frame event\n\ to that frame.") - (frame, no_enter) - Lisp_Object frame, no_enter; + (event, no_enter) + Lisp_Object event, no_enter; { /* Preserve prefix arg that the command loop just cleared. */ current_kboard->Vprefix_arg = Vcurrent_prefix_arg; call1 (Vrun_hooks, Qmouse_leave_buffer_hook); - return do_switch_frame (frame, no_enter, 0); + return do_switch_frame (event, no_enter, 0); } DEFUN ("ignore-event", Fignore_event, Signore_event, 0, 0, "", @@ -1876,12 +1876,12 @@ DEFUN ("set-frame-height", Fset_frame_height, Sset_frame_height, 2, 3, 0, "Specify that the frame FRAME has LINES lines.\n\ Optional third arg non-nil means that redisplay should use LINES lines\n\ but that the idea of the actual height of the frame should not be changed.") - (frame, rows, pretend) - Lisp_Object frame, rows, pretend; + (frame, lines, pretend) + Lisp_Object frame, lines, pretend; { register struct frame *f; - CHECK_NUMBER (rows, 0); + CHECK_NUMBER (lines, 0); if (NILP (frame)) f = selected_frame; else @@ -1894,12 +1894,12 @@ but that the idea of the actual height of the frame should not be changed.") #ifdef HAVE_WINDOW_SYSTEM if (FRAME_WINDOW_P (f)) { - if (XINT (rows) != f->height) - x_set_window_size (f, 1, f->width, XINT (rows)); + if (XINT (lines) != f->height) + x_set_window_size (f, 1, f->width, XINT (lines)); } else #endif - change_frame_size (f, XINT (rows), 0, !NILP (pretend), 0); + change_frame_size (f, XINT (lines), 0, !NILP (pretend), 0); return Qnil; } |