From: Sean Whitton Date: Fri, 30 Aug 2024 10:43:35 +0000 (+0100) Subject: ; Fix some ungrammatical uses of "allows to" X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7526caf46a66c05965783255c1d854c067749b40;p=emacs.git ; Fix some ungrammatical uses of "allows to" * 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". (cherry picked from commit baaf97ce1a1f14e1b999ad17084022a725fbcccc) --- diff --git a/doc/emacs/anti.texi b/doc/emacs/anti.texi index bf355ff1fea..97110dc8cdb 100644 --- a/doc/emacs/anti.texi +++ b/doc/emacs/anti.texi @@ -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 diff --git a/etc/NEWS.29 b/etc/NEWS.29 index 817534ee3ae..13a78c67500 100644 --- a/etc/NEWS.29 +++ b/etc/NEWS.29 @@ -2031,7 +2031,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' @@ -3528,7 +3528,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'. @@ -4045,8 +4045,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 diff --git a/lib/cdefs.h b/lib/cdefs.h index d38382ad9d8..02fcabce722 100644 --- a/lib/cdefs.h +++ b/lib/cdefs.h @@ -497,7 +497,7 @@ # 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. */ diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el index 0eb00ec9e90..3848558a111 100644 --- a/lisp/tab-bar.el +++ b/lisp/tab-bar.el @@ -1517,7 +1517,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)) diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index dedf6fdd219..3ae08a59105 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el @@ -1460,7 +1460,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") diff --git a/m4/gnulib-common.m4 b/m4/gnulib-common.m4 index b34b4534bfe..06dd6029759 100644 --- a/m4/gnulib-common.m4 +++ b/m4/gnulib-common.m4 @@ -1364,7 +1364,7 @@ dnl dnl This macro sets two variables: dnl - gl_cv_onwards_func_ to yes / no / "future OS version" dnl - ac_cv_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 ]]) 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_ to yes / no / "future OS version" dnl - ac_cv_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 ]]) dnl can be used as a drop-in replacement for