1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-20 10:23:57 +00:00

* window.c (Fwindowp, Fwindow_live_p, Fwindow_minibuffer_p)

(Fcoordinates_in_window_p, Fscroll_left, Fscroll_right):
  Fix typos in docstrings.
This commit is contained in:
Juanma Barranquero 2008-10-28 17:45:00 +00:00
parent 437cfececb
commit 23fe745a73
2 changed files with 13 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2008-10-28 Juanma Barranquero <lekktu@gmail.com>
* window.c (Fwindowp, Fwindow_live_p, Fwindow_minibuffer_p)
(Fcoordinates_in_window_p, Fscroll_left, Fscroll_right):
Fix typos in docstrings.
2008-10-28 Dan Nicolaescu <dann@ics.uci.edu> 2008-10-28 Dan Nicolaescu <dann@ics.uci.edu>
* emacs.c (daemon_pipe): Make non-static. * emacs.c (daemon_pipe): Make non-static.

View File

@ -195,7 +195,7 @@ extern EMACS_INT scroll_margin;
extern Lisp_Object Qwindow_scroll_functions, Vwindow_scroll_functions; extern Lisp_Object Qwindow_scroll_functions, Vwindow_scroll_functions;
DEFUN ("windowp", Fwindowp, Swindowp, 1, 1, 0, DEFUN ("windowp", Fwindowp, Swindowp, 1, 1, 0,
doc: /* Returns t if OBJECT is a window. */) doc: /* Return t if OBJECT is a window. */)
(object) (object)
Lisp_Object object; Lisp_Object object;
{ {
@ -203,7 +203,7 @@ DEFUN ("windowp", Fwindowp, Swindowp, 1, 1, 0,
} }
DEFUN ("window-live-p", Fwindow_live_p, Swindow_live_p, 1, 1, 0, DEFUN ("window-live-p", Fwindow_live_p, Swindow_live_p, 1, 1, 0,
doc: /* Returns t if OBJECT is a window which is currently visible. */) doc: /* Return t if OBJECT is a window which is currently visible. */)
(object) (object)
Lisp_Object object; Lisp_Object object;
{ {
@ -284,7 +284,7 @@ used by that frame. */)
} }
DEFUN ("window-minibuffer-p", Fwindow_minibuffer_p, Swindow_minibuffer_p, 0, 1, 0, DEFUN ("window-minibuffer-p", Fwindow_minibuffer_p, Swindow_minibuffer_p, 0, 1, 0,
doc: /* Returns non-nil if WINDOW is a minibuffer window. doc: /* Return non-nil if WINDOW is a minibuffer window.
WINDOW defaults to the selected window. */) WINDOW defaults to the selected window. */)
(window) (window)
Lisp_Object window; Lisp_Object window;
@ -897,7 +897,7 @@ DEFUN ("coordinates-in-window-p", Fcoordinates_in_window_p,
doc: /* Return non-nil if COORDINATES are in WINDOW. doc: /* Return non-nil if COORDINATES are in WINDOW.
COORDINATES is a cons of the form (X . Y), X and Y being distances COORDINATES is a cons of the form (X . Y), X and Y being distances
measured in characters from the upper-left corner of the frame. measured in characters from the upper-left corner of the frame.
\(0 . 0) denotes the character in the upper left corner of the \(0 . 0) denotes the character in the upper left corner of the
frame. frame.
If COORDINATES are in the text portion of WINDOW, If COORDINATES are in the text portion of WINDOW,
the coordinates relative to the window are returned. the coordinates relative to the window are returned.
@ -3430,7 +3430,7 @@ set_window_buffer (window, buffer, run_hooks_p, keep_margins_p)
bzero (&w->last_cursor, sizeof w->last_cursor); bzero (&w->last_cursor, sizeof w->last_cursor);
w->window_end_valid = Qnil; w->window_end_valid = Qnil;
if (!(keep_margins_p && samebuf)) if (!(keep_margins_p && samebuf))
{ /* If we're not actually changing the buffer, Don't reset hscroll and { /* If we're not actually changing the buffer, don't reset hscroll and
vscroll. This case happens for example when called from vscroll. This case happens for example when called from
change_frame_size_1, where we use a dummy call to change_frame_size_1, where we use a dummy call to
Fset_window_buffer on the frame's selected window (and no other) 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",
Default for ARG is window width minus 2. Default for ARG is window width minus 2.
Value is the total amount of leftward horizontal scrolling in Value is the total amount of leftward horizontal scrolling in
effect after the change. effect after the change.
If SET_MINIMUM is non-nil, the new scroll amount becomes the If SET-MINIMUM is non-nil, the new scroll amount becomes the
lower bound for automatic scrolling, i.e. automatic scrolling lower bound for automatic scrolling, i.e. automatic scrolling
will not scroll a window to a column less than the value returned will not scroll a window to a column less than the value returned
by this function. This happens in an interactive call. */) by this function. This happens in an interactive call. */)
@ -5481,7 +5481,7 @@ DEFUN ("scroll-right", Fscroll_right, Sscroll_right, 0, 2, "^P\np",
Default for ARG is window width minus 2. Default for ARG is window width minus 2.
Value is the total amount of leftward horizontal scrolling in Value is the total amount of leftward horizontal scrolling in
effect after the change. effect after the change.
If SET_MINIMUM is non-nil, the new scroll amount becomes the If SET-MINIMUM is non-nil, the new scroll amount becomes the
lower bound for automatic scrolling, i.e. automatic scrolling lower bound for automatic scrolling, i.e. automatic scrolling
will not scroll a window to a column less than the value returned will not scroll a window to a column less than the value returned
by this function. This happens in an interactive call. */) by this function. This happens in an interactive call. */)