aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuan Fu2025-04-18 16:30:39 -0700
committerYuan Fu2025-04-18 16:30:39 -0700
commite7ca83a2f4cdc7b93ebbc6ac0c894b3742594932 (patch)
tree577e4b029813721076f320c79e41ae2bb82e9b42
parent630a3a35f8268a934b542ec8c401ab85dff5610d (diff)
parent01d4eb3dd427feb3439378eab573d685daf47bb7 (diff)
downloademacs-e7ca83a2f4cdc7b93ebbc6ac0c894b3742594932.tar.gz
emacs-e7ca83a2f4cdc7b93ebbc6ac0c894b3742594932.zip
Merge from savannah/emacs-30
01d4eb3dd42 ; Improve doc string of 'insert-char' 93ad8407ed8 * admin/notes/emba: Fix docker build instruction. b901290ae7f * doc/lispref/text.texi (Margins): Grammar fix. 16855c89dde Merge branch 'emacs-30' of git.savannah.gnu.org:/srv/git/... 8792d3431b1 Backport: Fix tree-sitter tests on Emba # Conflicts: # test/infra/Dockerfile.emba
-rw-r--r--admin/notes/emba2
-rw-r--r--doc/lispref/text.texi2
-rw-r--r--src/editfns.c13
-rw-r--r--test/lisp/emacs-lisp/cl-macs-tests.el2
-rw-r--r--test/lisp/vc/diff-mode-resources/git.patch2
5 files changed, 13 insertions, 8 deletions
diff --git a/admin/notes/emba b/admin/notes/emba
index 2d0aaa6e8f0..cf4184ccc92 100644
--- a/admin/notes/emba
+++ b/admin/notes/emba
@@ -91,7 +91,7 @@ emba.gnu.org:5050, is not accessible publicly. Instead, the container
91images must be build locally. Change the current directory to a 91images must be build locally. Change the current directory to a
92recent Emacs branch (not a worktree), and apply the command 92recent Emacs branch (not a worktree), and apply the command
93 93
94 docker build --target emacs-inotify --tag emacs-inotify \ 94 docker buildx build --target emacs-inotify --tag emacs-inotify \
95 -f test/infra/Dockerfile.emba . 95 -f test/infra/Dockerfile.emba .
96 96
97This creates the Debian-based image emacs-inotify, based on the 97This creates the Debian-based image emacs-inotify, based on the
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index a20699d1944..75b2b1c3d60 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -1932,7 +1932,7 @@ they default to the whole buffer.
1932This function adjusts the indentation at the beginning of the current 1932This function adjusts the indentation at the beginning of the current
1933line to the value specified by the variable @code{left-margin}. (That 1933line to the value specified by the variable @code{left-margin}. (That
1934may involve either inserting or deleting whitespace.) This function 1934may involve either inserting or deleting whitespace.) This function
1935is value of @code{indent-line-function} in Paragraph-Indent Text mode. 1935is the value of @code{indent-line-function} in Paragraph-Indent Text mode.
1936@end defun 1936@end defun
1937 1937
1938@defopt left-margin 1938@defopt left-margin
diff --git a/src/editfns.c b/src/editfns.c
index a938d094534..c4f23ccbe5b 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -1440,8 +1440,9 @@ DEFUN ("insert-char", Finsert_char, Sinsert_char, 1, 3,
1440 (prefix-numeric-value current-prefix-arg)\ 1440 (prefix-numeric-value current-prefix-arg)\
1441 t))", 1441 t))",
1442 doc: /* Insert COUNT copies of CHARACTER. 1442 doc: /* Insert COUNT copies of CHARACTER.
1443
1443Interactively, prompt for CHARACTER using `read-char-by-name'. 1444Interactively, prompt for CHARACTER using `read-char-by-name'.
1444You can specify CHARACTER in one of these ways: 1445You can specify CHARACTER at the prompt in one of these ways:
1445 1446
1446 - As its Unicode character name, e.g. \"LATIN SMALL LETTER A\". 1447 - As its Unicode character name, e.g. \"LATIN SMALL LETTER A\".
1447 Completion is available; if you type a substring of the name 1448 Completion is available; if you type a substring of the name
@@ -1455,14 +1456,18 @@ You can specify CHARACTER in one of these ways:
1455 - As a code point with a radix specified with #, e.g. #o21430 1456 - As a code point with a radix specified with #, e.g. #o21430
1456 (octal), #x2318 (hex), or #10r8984 (decimal). 1457 (octal), #x2318 (hex), or #10r8984 (decimal).
1457 1458
1458If called interactively, COUNT is given by the prefix argument. If 1459When called from Lisp, CHARACTER should be an integer whose value
1459omitted or nil, it defaults to 1. 1460is valid for a character; see `characterp'. To specify a character by
1461its Unicode name in calls from Lisp, use `char-from-name'.
1462
1463When called interactively, COUNT is the prefix argument. If omitted or
1464nil, it defaults to 1.
1460 1465
1461Inserting the character(s) relocates point and before-insertion 1466Inserting the character(s) relocates point and before-insertion
1462markers in the same ways as the function `insert'. 1467markers in the same ways as the function `insert'.
1463 1468
1464The optional third argument INHERIT, if non-nil, says to inherit text 1469The optional third argument INHERIT, if non-nil, says to inherit text
1465properties from adjoining text, if those properties are sticky. If 1470properties from adjoining text, if those properties are sticky. When
1466called interactively, INHERIT is t. */) 1471called interactively, INHERIT is t. */)
1467 (Lisp_Object character, Lisp_Object count, Lisp_Object inherit) 1472 (Lisp_Object character, Lisp_Object count, Lisp_Object inherit)
1468{ 1473{
diff --git a/test/lisp/emacs-lisp/cl-macs-tests.el b/test/lisp/emacs-lisp/cl-macs-tests.el
index 3e3279ee35a..ade5b62d05a 100644
--- a/test/lisp/emacs-lisp/cl-macs-tests.el
+++ b/test/lisp/emacs-lisp/cl-macs-tests.el
@@ -556,7 +556,7 @@ collection clause."
556 (should (= def 4))) 556 (should (= def 4)))
557 (should (= 4 (mystruct-def x))) 557 (should (= 4 (mystruct-def x)))
558 (should (= 1 (mystruct-abc x))))) 558 (should (= 1 (mystruct-abc x)))))
559 559
560(ert-deftest cl-lib-arglist-performance () 560(ert-deftest cl-lib-arglist-performance ()
561 ;; An `&aux' should not cause lambda's arglist to be turned into an &rest 561 ;; An `&aux' should not cause lambda's arglist to be turned into an &rest
562 ;; that's parsed by hand. 562 ;; that's parsed by hand.
diff --git a/test/lisp/vc/diff-mode-resources/git.patch b/test/lisp/vc/diff-mode-resources/git.patch
index 05ec90d105c..fdb586d37d3 100644
--- a/test/lisp/vc/diff-mode-resources/git.patch
+++ b/test/lisp/vc/diff-mode-resources/git.patch
@@ -47,5 +47,5 @@ index 9f6c5fe43e47eab441232e54456c5c2b06297b65..7b3f91a8b4ed923c8f43183276e3ab36
47 if __name__ == "__main__": 47 if __name__ == "__main__":
48 main() 48 main()
49 49
50-- 50--
512.40.0 512.40.0