Commit 1d4862e8 authored by Stephen Gildea's avatar Stephen Gildea

Fix English grammar in some doc strings and comments

(files.el subr.el): Fix some grammar errors in doc strings and comments.
(frame.c fringe.c image.c xfns.c xterm.c): Fix some English grammar
errors in doc strings.
parent 8ae7c886
Pipeline #3929 failed with stage
in 56 minutes
This diff is collapsed.
This diff is collapsed.
......@@ -6120,7 +6120,7 @@ which need to do mouse handling at the Lisp level. */);
DEFVAR_LISP ("mouse-highlight", Vmouse_highlight,
doc: /* If non-nil, clickable text is highlighted when mouse is over it.
If the value is an integer, highlighting is only shown after moving the
If the value is an integer, highlighting is shown only after moving the
mouse, while keyboard input turns off the highlight even when the mouse
is over the clickable text. However, the mouse shape still indicates
when the mouse is over clickable text. */);
......
......@@ -1716,8 +1716,8 @@ syms_of_fringe (void)
DEFVAR_LISP ("overflow-newline-into-fringe", Voverflow_newline_into_fringe,
doc: /* Non-nil means that newline may flow into the right fringe.
This means that display lines which are exactly as wide as the window
\(not counting the final newline) will only occupy one screen line, by
This means that display lines that are exactly as wide as the window
\(not counting the final newline) will occupy only one screen line, by
showing (or hiding) the final newline in the right fringe; when point
is at the final newline, the cursor is shown in the right fringe.
If nil, also continue lines which are exactly as wide as the window. */);
......
......@@ -1758,7 +1758,7 @@ DEFUN ("clear-image-cache", Fclear_image_cache, Sclear_image_cache,
doc: /* Clear the image cache.
FILTER nil or a frame means clear all images in the selected frame.
FILTER t means clear the image caches of all frames.
Anything else, means only clear those images which refer to FILTER,
Anything else means clear only those images that refer to FILTER,
which is then usually a filename. */)
(Lisp_Object filter)
{
......@@ -10055,7 +10055,7 @@ DEFUN ("init-image-library", Finit_image_library, Sinit_image_library, 1, 1, 0,
doc: /* Initialize image library implementing image type TYPE.
Return t if TYPE is a supported image type.
If image libraries are loaded dynamically (currently only the case on
If image libraries are loaded dynamically (currently the case only on
MS-Windows), load the library for TYPE if it is not yet loaded, using
the library file(s) specified by `dynamic-library-alist'. */)
(Lisp_Object type)
......
/* Functions for the X window system.
/* Functions for the X Window System.
Copyright (C) 1989, 1992-2019 Free Software Foundation, Inc.
......@@ -5351,8 +5351,8 @@ and width values are in pixels.
FRAME.
`outer-border-width' is the width of the X border of FRAME. The X
border is usually only shown for frames without window manager
decorations like child and tooltip frames. */)
border is usually shown only for frames without window manager
decorations, such as child and tooltip frames. */)
(Lisp_Object frame)
{
return frame_geometry (frame, Qnil);
......@@ -5787,7 +5787,7 @@ DEFUN ("x-display-list", Fx_display_list, Sx_display_list, 0, 0, 0,
DEFUN ("x-synchronize", Fx_synchronize, Sx_synchronize, 1, 2, 0,
doc: /* If ON is non-nil, report X errors as soon as the erring request is made.
This function only has an effect on X Windows. With MS Windows, it is
This function has an effect only on X Windows. With MS Windows, it is
defined but does nothing.
If ON is nil, allow buffering of requests.
......@@ -7365,9 +7365,9 @@ Use a file selection dialog. Select DEFAULT-FILENAME in the dialog's file
selection box, if specified. If MUSTMATCH is non-nil, the returned file
or directory must exist.
This function is only defined on NS, MS Windows, and X Windows with the
This function is defined only on NS, MS Windows, and X Windows with the
Motif or Gtk toolkits. With the Motif toolkit, ONLY-DIR-P is ignored.
Otherwise, if ONLY-DIR-P is non-nil, the user can only select directories.
Otherwise, if ONLY-DIR-P is non-nil, the user can select only directories.
On MS Windows 7 and later, the file selection dialog "remembers" the last
directory where the user selected a file, and will open that directory
instead of DIR on subsequent invocations of this function with the same
......
......@@ -13636,7 +13636,7 @@ baseline level. The default value is nil. */);
DEFVAR_BOOL ("x-mouse-click-focus-ignore-position",
x_mouse_click_focus_ignore_position,
doc: /* Non-nil means that a mouse click to focus a frame does not move point.
This variable is only used when the window manager requires that you
This variable is used only when the window manager requires that you
click on a frame to select it (give it focus). In that case, a value
of nil, means that the selected window and cursor position changes to
reflect the mouse click position, while a non-nil value means that the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment