[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master d1f896b5f89 3/6: Merge from origin/emacs-30
From: |
Eli Zaretskii |
Subject: |
master d1f896b5f89 3/6: Merge from origin/emacs-30 |
Date: |
Sat, 31 Aug 2024 08:21:07 -0400 (EDT) |
branch: master
commit d1f896b5f8918ecd29a7e8e7a835ffefb655ddb5
Merge: fa00e4a10c8 4b60267d832
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
Merge from origin/emacs-30
4b60267d832 Make Python skeletons available in 'python-ts-mode' as well
62dcbfb776f Merge branch 'emacs-30' of git.savannah.gnu.org:/srv/git/...
1baa62b2ac1 ; * etc/NEWS: Fix typos.
dfcfaa0ef58 More accurate documentation of 'equal' in ELisp Reference
baaf97ce1a1 ; Fix some ungrammatical uses of "allows to"
# Conflicts:
# etc/NEWS
---
doc/emacs/anti.texi | 2 +-
doc/lispref/objects.texi | 9 +++++----
etc/NEWS.29 | 8 ++++----
etc/NEWS.30 | 4 ++--
lib/cdefs.h | 2 +-
lisp/progmodes/python.el | 4 ++--
lisp/tab-bar.el | 2 +-
lisp/vc/vc-git.el | 2 +-
m4/gnulib-common.m4 | 4 ++--
9 files changed, 19 insertions(+), 18 deletions(-)
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/doc/lispref/objects.texi b/doc/lispref/objects.texi
index ec6ab8204d6..399a1d169c2 100644
--- a/doc/lispref/objects.texi
+++ b/doc/lispref/objects.texi
@@ -2413,6 +2413,11 @@ the converse is not always true.
@end group
@end example
+The @code{equal} function recursively compares the contents of objects
+if they are integers, strings, markers, lists, cons cells, vectors,
+bool-vectors, byte-code function objects, char-tables, records, or font
+objects.
+
Comparison of strings is case-sensitive, but does not take account of
text properties---it compares only the characters in the strings.
@xref{Text Properties}. Use @code{equal-including-properties} to also
@@ -2428,10 +2433,6 @@ same sequence of character codes and all these codes are
in the range
@end group
@end example
-The @code{equal} function recursively compares the contents of objects
-if they are integers, strings, markers, vectors, bool-vectors,
-byte-code function objects, char-tables, records, or font objects.
-
If @var{object1} or @var{object2} contains symbols with position,
@code{equal} treats them as if they were their bare symbols when
@code{symbols-with-pos-enabled} is non-@code{nil}. Otherwise
diff --git a/etc/NEWS.29 b/etc/NEWS.29
index 1e381034ada..bd893c04446 100644
--- a/etc/NEWS.29
+++ b/etc/NEWS.29
@@ -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
diff --git a/etc/NEWS.30 b/etc/NEWS.30
index 15e4034b7e6..40c8d4782a1 100644
--- a/etc/NEWS.30
+++ b/etc/NEWS.30
@@ -1021,7 +1021,7 @@ It allows tweaking the thresholds for rename and copy
detection.
*** VC Directory buffers now display the upstream branch in Git repositories.
The "upstream branch" is the branch from which 'vc-pull' fetches changes
by default. In Git terms, the upstream branch of branch B is determined
-by configuration variables branch.B.remote and branch.B.merge.
+by configuration variables 'branch.B.remote' and 'branch.B.merge'.
When these configuration variables are set for the current branch, the
VC Directory buffer will show the corresponding upstream branch under
@@ -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
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/progmodes/python.el b/lisp/progmodes/python.el
index a00289d6de9..fb4b9afc073 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -5390,8 +5390,8 @@ be added to `python-mode-skeleton-abbrev-table'."
(format "Insert %s statement." name))
,@skel))))
-(define-abbrev-table 'python-mode-abbrev-table ()
- "Abbrev table for Python mode."
+(define-abbrev-table 'python-base-mode-abbrev-table ()
+ "Abbrev table for Python modes."
:parents (list python-mode-skeleton-abbrev-table))
(defmacro python-define-auxiliary-skeleton (name &optional doc &rest skel)
diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el
index 734058175cf..80d66097bce 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_<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
- master updated (a9889b8eece -> ca8170d906f), Eli Zaretskii, 2024/08/31
- master fa00e4a10c8 2/6: ; Merge from origin/emacs-30, Eli Zaretskii, 2024/08/31
- master d1f896b5f89 3/6: Merge from origin/emacs-30,
Eli Zaretskii <=
- master ca8170d906f 6/6: ; Fix merge problem in etc/NEWS.30., Eli Zaretskii, 2024/08/31
- master a18c29a7ebe 1/6: Merge from origin/emacs-30, Eli Zaretskii, 2024/08/31
- master e176ec4a8f2 4/6: ; Merge from origin/emacs-30, Eli Zaretskii, 2024/08/31
- master fa76ec7b5f0 5/6: Merge from origin/emacs-30, Eli Zaretskii, 2024/08/31