Mercurial > emacs
comparison src/window.c @ 35841:ca8a0bbc64f7
(Fenlarge_window, Fshrink_window): Doc fix.
| author | Eli Zaretskii <eliz@gnu.org> |
|---|---|
| date | Fri, 02 Feb 2001 07:40:37 +0000 |
| parents | fe8277459ef3 |
| children | 9160e13c68d2 |
comparison
equal
deleted
inserted
replaced
| 35840:76aa6a25b931 | 35841:ca8a0bbc64f7 |
|---|---|
| 3296 return new; | 3296 return new; |
| 3297 } | 3297 } |
| 3298 | 3298 |
| 3299 DEFUN ("enlarge-window", Fenlarge_window, Senlarge_window, 1, 2, "p", | 3299 DEFUN ("enlarge-window", Fenlarge_window, Senlarge_window, 1, 2, "p", |
| 3300 "Make current window ARG lines bigger.\n\ | 3300 "Make current window ARG lines bigger.\n\ |
| 3301 From program, optional second arg non-nil means grow sideways ARG columns.") | 3301 From program, optional second arg non-nil means grow sideways ARG columns.\n\ |
| 3302 Interactively, if an argument is not given, make the window one line bigger.") | |
| 3302 (arg, side) | 3303 (arg, side) |
| 3303 register Lisp_Object arg, side; | 3304 register Lisp_Object arg, side; |
| 3304 { | 3305 { |
| 3305 CHECK_NUMBER (arg, 0); | 3306 CHECK_NUMBER (arg, 0); |
| 3306 enlarge_window (selected_window, XINT (arg), !NILP (side)); | 3307 enlarge_window (selected_window, XINT (arg), !NILP (side)); |
| 3311 return Qnil; | 3312 return Qnil; |
| 3312 } | 3313 } |
| 3313 | 3314 |
| 3314 DEFUN ("shrink-window", Fshrink_window, Sshrink_window, 1, 2, "p", | 3315 DEFUN ("shrink-window", Fshrink_window, Sshrink_window, 1, 2, "p", |
| 3315 "Make current window ARG lines smaller.\n\ | 3316 "Make current window ARG lines smaller.\n\ |
| 3316 From program, optional second arg non-nil means shrink sideways arg columns.") | 3317 From program, optional second arg non-nil means shrink sideways arg columns.\n\ |
| 3318 Interactively, if an argument is not given, make the window one line smaller.") | |
| 3317 (arg, side) | 3319 (arg, side) |
| 3318 register Lisp_Object arg, side; | 3320 register Lisp_Object arg, side; |
| 3319 { | 3321 { |
| 3320 CHECK_NUMBER (arg, 0); | 3322 CHECK_NUMBER (arg, 0); |
| 3321 enlarge_window (selected_window, -XINT (arg), !NILP (side)); | 3323 enlarge_window (selected_window, -XINT (arg), !NILP (side)); |
