; Fix some ungrammatical uses of "allows to"
authorSean Whitton <spwhitton@spwhitton.name>
Fri, 30 Aug 2024 10:43:35 +0000 (11:43 +0100)
committerSean Whitton <spwhitton@spwhitton.name>
Fri, 30 Aug 2024 10:47:35 +0000 (11:47 +0100)
* doc/emacs/anti.texi (Antinews):
* etc/NEWS:
* etc/NEWS.29:
* lib/cdefs.h:
* lisp/tab-bar.el (tab-bar-select-restore-windows):
* lisp/vc/vc-git.el (vc-git-print-log-follow):
* m4/gnulib-common.m4 (gl_CHECK_FUNCS_SET_RESULTS):
(gl_CHECK_FUNCS_ANDROID): Fix ungrammatical uses of "allows to".

doc/emacs/anti.texi
etc/NEWS
etc/NEWS.29
lib/cdefs.h
lisp/tab-bar.el
lisp/vc/vc-git.el
m4/gnulib-common.m4

index bf355ff1feaf7d4d5738949f1a7922e9924b4ac2..97110dc8cdb56777e9a3594dee7357cfbe7066a3 100644 (file)
@@ -71,7 +71,7 @@ tool bars on the bottom.  For the same reasons @code{modifier-bar-mode}
 is now gone.
 
 @item
-The command @code{recover-file} no longer allows to display the diffs
+The command @code{recover-file} no longer allows displaying the diffs
 between a file and its auto-save file.  You either want to recover a
 file or you don't; confusing users with a third alternative when they
 are anxious already by the possibility of losing precious edits is
index 9cf41188868deaee9997c3d1758500d8688d3c55..90dbcd2cadae28730ff2f11c06b1b220fafce549 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1102,7 +1102,7 @@ in size.
 
 +++
 *** 'dired-listing-switches' handles connection-local values if exist.
-This allows to customize different switches for different remote machines.
+This allows customizing different switches for different remote machines.
 
 ** Ediff
 
index 1e381034adaa571807c776823c0dde57fd6b6692..bd893c04446a27b70a16beb3698fa6b20c9c1003 100644 (file)
@@ -2032,7 +2032,7 @@ The intention is that this command can be used to access a wide
 variety of version control system-specific functionality from VC
 without complexifying either the VC command set or the backend API.
 
-*** 'C-x v v' in a diffs buffer allows to commit only some of the changes.
+*** 'C-x v v' in a diffs buffer allows committing only some of the changes.
 This command is intended to allow you to commit only some of the
 changes you have in your working tree.  Begin by creating a buffer
 with the changes against the last commit, e.g. with 'C-x v D'
@@ -3529,7 +3529,7 @@ The variables 'connection-local-profile-alist' and
 make it more convenient to inspect and modify them.
 
 *** New function 'connection-local-update-profile-variables'.
-This function allows to modify the settings of an existing
+This function allows modifying the settings of an existing
 connection-local profile.
 
 *** New macro 'with-connection-local-application-variables'.
@@ -4046,8 +4046,8 @@ measured will be counted for the purpose of calculating the text
 dimensions.
 
 ** 'window-text-pixel-size' understands a new meaning of FROM.
-Specifying a cons as the FROM argument allows to start measuring text
-from a specified amount of pixels above or below a position.
+Specifying a cons as the FROM argument allows starting the measurement
+of text from a specified amount of pixels above or below a position.
 
 ** 'window-body-width' and 'window-body-height' can use remapped faces.
 Specifying 'remap' as the PIXELWISE argument now checks if the default
index d38382ad9d80f11f2c6bd255d502f87c63fe26d0..02fcabce722366f1fad24657d15eeebfdd9db334 100644 (file)
 # endif
 #endif
 
-/* ISO C99 also allows to declare arrays as non-overlapping.  The syntax is
+/* ISO C99 also allows declaring arrays as non-overlapping.  The syntax is
      array_name[restrict]
    GCC 3.1 and clang support this.
    This syntax is not usable in C++ mode.  */
index 60d5bbf169b4520414afb6cfbcf5d391fe8d0e55..363c98d833773b21230f2cc2bb9420306583cab0 100644 (file)
@@ -1478,7 +1478,7 @@ in the same window to give information about the killed buffer."
 
 (defun tab-bar-select-restore-windows (_frame windows _type)
   "Display a placeholder buffer in the window whose buffer was killed.
-A button in the window allows to restore the killed buffer,
+A button in the window allows restoring the killed buffer,
 if it was visiting a file."
   (dolist (quad windows)
     (when (window-live-p (nth 0 quad))
index e8257c5dbd016cea8929cbed6510d86c4a0dcf1a..4006623799bd0ffd7bb6fc0923e8fc98b6c5f33e 100644 (file)
@@ -1453,7 +1453,7 @@ way may omit certain (merge) commits, and that `log-view-diff'
 fails on commits that used the previous name, in that log buffer.
 
 When this variable is nil, and the log ends with a rename, we
-show a button below that which allows to show the log for the
+show a button below that which allows showing the log for the
 file name before the rename."
   :type 'boolean
   :version "26.1")
index b34b4534bfe6e79dfd3e3df49c16f4183a6639b3..06dd6029759612ee05fcb7d5277722ad92b579a5 100644 (file)
@@ -1364,7 +1364,7 @@ dnl
 dnl This macro sets two variables:
 dnl   - gl_cv_onwards_func_<func>   to yes / no / "future OS version"
 dnl   - ac_cv_func_<func>           to yes / no / no
-dnl The first variable allows to distinguish all three cases.
+dnl The first variable allows distinguishing all three cases.
 dnl The second variable is set, so that an invocation
 dnl   gl_CHECK_FUNCS_ANDROID([func], [[#include <foo.h>]])
 dnl can be used as a drop-in replacement for
@@ -1417,7 +1417,7 @@ dnl
 dnl This macro sets two variables:
 dnl   - gl_cv_onwards_func_<func>   to yes / no / "future OS version"
 dnl   - ac_cv_func_<func>           to yes / no / no
-dnl The first variable allows to distinguish all three cases.
+dnl The first variable allows distinguishing all three cases.
 dnl The second variable is set, so that an invocation
 dnl   gl_CHECK_FUNCS_MACOS([func], [[#include <foo.h>]])
 dnl can be used as a drop-in replacement for