From c119a3600ed98ddb4b8804af61ba6ec78792859c Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 8 Oct 2025 09:38:38 +0300 Subject: [PATCH 1/3] ; * doc/lispref/tips.texi (Documentation Tips): Document \\+`foo'. --- doc/lispref/tips.texi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/lispref/tips.texi b/doc/lispref/tips.texi index 3088decc1b2..017174f2edc 100644 --- a/doc/lispref/tips.texi +++ b/doc/lispref/tips.texi @@ -770,6 +770,15 @@ that satisfy the criterion. does not make a hyperlink to the documentation, irrelevant here, of the function @code{list}. +Alternatively, you could precede the symbol with @samp{\\+} to prevent +marking it as a hyperlink. Example: + +@example +If the value of KIND-OF-RESULT is \\+`list', +this function returns a list of all the objects +that satisfy the criterion. +@end example + Normally, no hyperlink is made for a variable without variable documentation. You can force a hyperlink for such variables by preceding them with one of the words @samp{variable} or From 85db0ac0d6e2321f3486a8a500b729b9a85b7bee Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 11 Oct 2025 09:47:14 +0300 Subject: [PATCH 2/3] ; * doc/lispref/nonascii.texi (Explicit Encoding): Fix a typo (bug#79613). --- doc/lispref/nonascii.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi index eccca96df0a..57be79074fb 100644 --- a/doc/lispref/nonascii.texi +++ b/doc/lispref/nonascii.texi @@ -2000,7 +2000,7 @@ original text: @example @group (decode-coding-string "Gr\374ss Gott" 'latin-1) - @result{} #("Grüss Gott" 0 9 (charset iso-8859-1)) + @result{} #("Grüss Gott" 0 10 (charset iso-8859-1)) @end group @end example @end defun From 1895ba3ba3b45bcb81e9d94902267c15094fbf79 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 11 Oct 2025 12:08:48 +0300 Subject: [PATCH 3/3] ; Document %i format * src/editfns.c (Fformat): Doc fix. * doc/lispref/strings.texi (Formatting Strings): Document %i. --- doc/lispref/strings.texi | 1 + src/editfns.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index cfc14be8ba0..f19dd6dd4d7 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi @@ -1036,6 +1036,7 @@ way. The object can also be a floating-point number that is formatted as an integer, dropping any fraction. @item %d +@itemx %i Replace the specification with the base-ten representation of a signed integer. The object can also be a floating-point number that is formatted as an integer, dropping any fraction. diff --git a/src/editfns.c b/src/editfns.c index ea71c3cda37..fc9162b12f9 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -3312,7 +3312,7 @@ The format control string may contain %-sequences meaning to substitute the next available argument, or the argument explicitly specified: %s means produce a string argument. Actually, produces any object with `princ'. -%d means produce as signed number in decimal. +%d or %i means produce a signed number in decimal. %o means produce a number in octal. %x means produce a number in hex. %X is like %x, but uses upper case. @@ -3324,7 +3324,7 @@ the next available argument, or the argument explicitly specified: %c means produce a number as a single character. %S means produce any object as an s-expression (using `prin1'). -The argument used for %d, %o, %x, %e, %f, %g or %c must be a number. +The argument used for %d, %i, %o, %x, %e, %f, %g or %c must be a number. %o, %x, and %X treat arguments as unsigned if `binary-as-unsigned' is t (this is experimental; email 32252@debbugs.gnu.org if you need it). Use %% to put a single % into the output.