diff options
| author | Juanma Barranquero | 2008-10-28 17:45:00 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2008-10-28 17:45:00 +0000 |
| commit | 23fe745a73768849ffb52fdd24e78ba245ac12d0 (patch) | |
| tree | 133f5c2bc07e38b3f409c6a7d67b96ffd86d0452 /src/window.c | |
| parent | 437cfececb2b468a1d16933526e84c10690e4ad5 (diff) | |
| download | emacs-23fe745a73768849ffb52fdd24e78ba245ac12d0.tar.gz emacs-23fe745a73768849ffb52fdd24e78ba245ac12d0.zip | |
* window.c (Fwindowp, Fwindow_live_p, Fwindow_minibuffer_p)
(Fcoordinates_in_window_p, Fscroll_left, Fscroll_right):
Fix typos in docstrings.
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/window.c b/src/window.c index bd9e84b826a..4901828c280 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -195,7 +195,7 @@ extern EMACS_INT scroll_margin; | |||
| 195 | extern Lisp_Object Qwindow_scroll_functions, Vwindow_scroll_functions; | 195 | extern Lisp_Object Qwindow_scroll_functions, Vwindow_scroll_functions; |
| 196 | 196 | ||
| 197 | DEFUN ("windowp", Fwindowp, Swindowp, 1, 1, 0, | 197 | DEFUN ("windowp", Fwindowp, Swindowp, 1, 1, 0, |
| 198 | doc: /* Returns t if OBJECT is a window. */) | 198 | doc: /* Return t if OBJECT is a window. */) |
| 199 | (object) | 199 | (object) |
| 200 | Lisp_Object object; | 200 | Lisp_Object object; |
| 201 | { | 201 | { |
| @@ -203,7 +203,7 @@ DEFUN ("windowp", Fwindowp, Swindowp, 1, 1, 0, | |||
| 203 | } | 203 | } |
| 204 | 204 | ||
| 205 | DEFUN ("window-live-p", Fwindow_live_p, Swindow_live_p, 1, 1, 0, | 205 | DEFUN ("window-live-p", Fwindow_live_p, Swindow_live_p, 1, 1, 0, |
| 206 | doc: /* Returns t if OBJECT is a window which is currently visible. */) | 206 | doc: /* Return t if OBJECT is a window which is currently visible. */) |
| 207 | (object) | 207 | (object) |
| 208 | Lisp_Object object; | 208 | Lisp_Object object; |
| 209 | { | 209 | { |
| @@ -284,7 +284,7 @@ used by that frame. */) | |||
| 284 | } | 284 | } |
| 285 | 285 | ||
| 286 | DEFUN ("window-minibuffer-p", Fwindow_minibuffer_p, Swindow_minibuffer_p, 0, 1, 0, | 286 | DEFUN ("window-minibuffer-p", Fwindow_minibuffer_p, Swindow_minibuffer_p, 0, 1, 0, |
| 287 | doc: /* Returns non-nil if WINDOW is a minibuffer window. | 287 | doc: /* Return non-nil if WINDOW is a minibuffer window. |
| 288 | WINDOW defaults to the selected window. */) | 288 | WINDOW defaults to the selected window. */) |
| 289 | (window) | 289 | (window) |
| 290 | Lisp_Object window; | 290 | Lisp_Object window; |
| @@ -897,7 +897,7 @@ DEFUN ("coordinates-in-window-p", Fcoordinates_in_window_p, | |||
| 897 | doc: /* Return non-nil if COORDINATES are in WINDOW. | 897 | doc: /* Return non-nil if COORDINATES are in WINDOW. |
| 898 | COORDINATES is a cons of the form (X . Y), X and Y being distances | 898 | COORDINATES is a cons of the form (X . Y), X and Y being distances |
| 899 | measured in characters from the upper-left corner of the frame. | 899 | measured in characters from the upper-left corner of the frame. |
| 900 | \(0 . 0) denotes the character in the upper left corner of the | 900 | \(0 . 0) denotes the character in the upper left corner of the |
| 901 | frame. | 901 | frame. |
| 902 | If COORDINATES are in the text portion of WINDOW, | 902 | If COORDINATES are in the text portion of WINDOW, |
| 903 | the coordinates relative to the window are returned. | 903 | the coordinates relative to the window are returned. |
| @@ -3430,7 +3430,7 @@ set_window_buffer (window, buffer, run_hooks_p, keep_margins_p) | |||
| 3430 | bzero (&w->last_cursor, sizeof w->last_cursor); | 3430 | bzero (&w->last_cursor, sizeof w->last_cursor); |
| 3431 | w->window_end_valid = Qnil; | 3431 | w->window_end_valid = Qnil; |
| 3432 | if (!(keep_margins_p && samebuf)) | 3432 | if (!(keep_margins_p && samebuf)) |
| 3433 | { /* If we're not actually changing the buffer, Don't reset hscroll and | 3433 | { /* If we're not actually changing the buffer, don't reset hscroll and |
| 3434 | vscroll. This case happens for example when called from | 3434 | vscroll. This case happens for example when called from |
| 3435 | change_frame_size_1, where we use a dummy call to | 3435 | change_frame_size_1, where we use a dummy call to |
| 3436 | Fset_window_buffer on the frame's selected window (and no other) | 3436 | Fset_window_buffer on the frame's selected window (and no other) |
| @@ -5451,7 +5451,7 @@ DEFUN ("scroll-left", Fscroll_left, Sscroll_left, 0, 2, "^P\np", | |||
| 5451 | Default for ARG is window width minus 2. | 5451 | Default for ARG is window width minus 2. |
| 5452 | Value is the total amount of leftward horizontal scrolling in | 5452 | Value is the total amount of leftward horizontal scrolling in |
| 5453 | effect after the change. | 5453 | effect after the change. |
| 5454 | If SET_MINIMUM is non-nil, the new scroll amount becomes the | 5454 | If SET-MINIMUM is non-nil, the new scroll amount becomes the |
| 5455 | lower bound for automatic scrolling, i.e. automatic scrolling | 5455 | lower bound for automatic scrolling, i.e. automatic scrolling |
| 5456 | will not scroll a window to a column less than the value returned | 5456 | will not scroll a window to a column less than the value returned |
| 5457 | by this function. This happens in an interactive call. */) | 5457 | by this function. This happens in an interactive call. */) |
| @@ -5481,7 +5481,7 @@ DEFUN ("scroll-right", Fscroll_right, Sscroll_right, 0, 2, "^P\np", | |||
| 5481 | Default for ARG is window width minus 2. | 5481 | Default for ARG is window width minus 2. |
| 5482 | Value is the total amount of leftward horizontal scrolling in | 5482 | Value is the total amount of leftward horizontal scrolling in |
| 5483 | effect after the change. | 5483 | effect after the change. |
| 5484 | If SET_MINIMUM is non-nil, the new scroll amount becomes the | 5484 | If SET-MINIMUM is non-nil, the new scroll amount becomes the |
| 5485 | lower bound for automatic scrolling, i.e. automatic scrolling | 5485 | lower bound for automatic scrolling, i.e. automatic scrolling |
| 5486 | will not scroll a window to a column less than the value returned | 5486 | will not scroll a window to a column less than the value returned |
| 5487 | by this function. This happens in an interactive call. */) | 5487 | by this function. This happens in an interactive call. */) |