aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2016-05-05 23:11:11 -0700
committerPaul Eggert2016-05-05 23:11:11 -0700
commit89ce83b20249dfb4e45f09dfdddf4c4b66d82968 (patch)
tree3d75245a5514df2ad7b17ae6d56727b9629846a9 /src
parentd546ed13b04521308ef7ec8e7e5b68e03f1bbb38 (diff)
parent50650cb6887d99b01eeb1e686fc1f695c2a0c64a (diff)
downloademacs-89ce83b20249dfb4e45f09dfdddf4c4b66d82968.tar.gz
emacs-89ce83b20249dfb4e45f09dfdddf4c4b66d82968.zip
Merge from origin/emacs-25
50650cb Doc fixes for fclist and grep 5e814e0 Minor doc fixes for quoting 3347a73 `nreverse' the marker pairs list 1a4127d Use save-excursion in xref-location-marker more ab3ba91 shell-quote-argument DIR when appropriate 922c7a3 Rework xref-query-replace-in-results 3fe3510 * lisp/replace.el (query-replace-read-from): Use minibuffer-w... 0932b94 Fix todo-mode bug involving archived items (bug#23447) e68ad1f ; * etc/NEWS: Tiny edit. (Bug#23432) adc80b7 ; * test/automated/xref-tests.el: Add copyright and license. 4d8fd9c Handle "empty line" regexp in xref searches f559b37 Add tests for xref-collect-matches 6428aa0 Use grep-find-ignored-directories instead of vc-directory-exc... 6f82d8e Clear buffer-undo-list when showing xrefs c68a091 Note the quote translation in `message' in section "incompati... 52f86a7 * etc/NEWS: Mention (message "%s" (format ...)). 93703c5 (Common Keywords): Correct what missing :group means 79e5800 Improve documentation of Dired's 'A' and 'Q' commands 2ea2a2f Doc fixes for quoting 8544b98 posnp doc clarification 805204f Mention what a missing :group does ec554d7 Fix documentation of dired-aux search/replace commands
Diffstat (limited to 'src')
-rw-r--r--src/bidi.c4
-rw-r--r--src/callint.c2
-rw-r--r--src/doprnt.c6
-rw-r--r--src/editfns.c13
4 files changed, 14 insertions, 11 deletions
diff --git a/src/bidi.c b/src/bidi.c
index c23ff954356..573e513469d 100644
--- a/src/bidi.c
+++ b/src/bidi.c
@@ -2498,10 +2498,10 @@ typedef struct bpa_stack_entry {
2498 2498
2499 And finally, cross-reference these two: 2499 And finally, cross-reference these two:
2500 2500
2501 fgrep -w -f brackets.txt decompositions.txt 2501 grep -Fw -f brackets.txt decompositions.txt
2502 2502
2503 where "decompositions.txt" was produced by the 1st script, and 2503 where "decompositions.txt" was produced by the 1st script, and
2504 "brackets.txt" by the 2nd script. In the output of fgrep, look 2504 "brackets.txt" by the 2nd script. In the output of grep, look
2505 only for decompositions that don't begin with some compatibility 2505 only for decompositions that don't begin with some compatibility
2506 formatting tag, such as "<compat>". Only decompositions that 2506 formatting tag, such as "<compat>". Only decompositions that
2507 consist solely of character codepoints are relevant to bidi 2507 consist solely of character codepoints are relevant to bidi
diff --git a/src/callint.c b/src/callint.c
index e56f7cd1b84..053ee6cdaa5 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -272,7 +272,7 @@ invoke it. If KEYS is omitted or nil, the return value of
272{ 272{
273 /* `args' will contain the array of arguments to pass to the function. 273 /* `args' will contain the array of arguments to pass to the function.
274 `visargs' will contain the same list but in a nicer form, so that if we 274 `visargs' will contain the same list but in a nicer form, so that if we
275 pass it to `Fformat' it will be understandable to a human. */ 275 pass it to `Fformat_message' it will be understandable to a human. */
276 Lisp_Object *args, *visargs; 276 Lisp_Object *args, *visargs;
277 Lisp_Object specs; 277 Lisp_Object specs;
278 Lisp_Object filter_specs; 278 Lisp_Object filter_specs;
diff --git a/src/doprnt.c b/src/doprnt.c
index 506bbc3df35..9d8b783565f 100644
--- a/src/doprnt.c
+++ b/src/doprnt.c
@@ -46,15 +46,15 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
46 ignored %s and %c conversions. (See below for the detailed documentation of 46 ignored %s and %c conversions. (See below for the detailed documentation of
47 what is supported.) However, this is okay, as this function is supposed to 47 what is supported.) However, this is okay, as this function is supposed to
48 be called from `error' and similar functions, and thus does not need to 48 be called from `error' and similar functions, and thus does not need to
49 support features beyond those in `Fformat', which is used by `error' on the 49 support features beyond those in `Fformat_message', which is used
50 Lisp level. */ 50 by `error' on the Lisp level. */
51 51
52/* In the FORMAT argument this function supports ` and ' as directives 52/* In the FORMAT argument this function supports ` and ' as directives
53 that output left and right quotes as per ‘text-quoting style’. It 53 that output left and right quotes as per ‘text-quoting style’. It
54 also supports the following %-sequences: 54 also supports the following %-sequences:
55 55
56 %s means print a string argument. 56 %s means print a string argument.
57 %S is silently treated as %s, for loose compatibility with `Fformat'. 57 %S is treated as %s, for loose compatibility with `Fformat_message'.
58 %d means print a `signed int' argument in decimal. 58 %d means print a `signed int' argument in decimal.
59 %o means print an `unsigned int' argument in octal. 59 %o means print an `unsigned int' argument in octal.
60 %x means print an `unsigned int' argument in hex. 60 %x means print an `unsigned int' argument in hex.
diff --git a/src/editfns.c b/src/editfns.c
index 11a82c3da73..0e1a6e3415f 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -3716,10 +3716,11 @@ In batch mode, the message is printed to the standard error stream,
3716followed by a newline. 3716followed by a newline.
3717 3717
3718The first argument is a format control string, and the rest are data 3718The first argument is a format control string, and the rest are data
3719to be formatted under control of the string. See `format' for details. 3719to be formatted under control of the string. See `format-message' for
3720details.
3720 3721
3721Note: Use (message "%s" VALUE) to print the value of expressions and 3722Note: (message "%s" VALUE) displays the string VALUE without
3722variables to avoid accidentally interpreting `%' as format specifiers. 3723interpreting format characters like `%', `\\=`', and `\\=''.
3723 3724
3724If the first argument is nil or the empty string, the function clears 3725If the first argument is nil or the empty string, the function clears
3725any existing message; this lets the minibuffer contents show. See 3726any existing message; this lets the minibuffer contents show. See
@@ -3747,7 +3748,8 @@ DEFUN ("message-box", Fmessage_box, Smessage_box, 1, MANY, 0,
3747 doc: /* Display a message, in a dialog box if possible. 3748 doc: /* Display a message, in a dialog box if possible.
3748If a dialog box is not available, use the echo area. 3749If a dialog box is not available, use the echo area.
3749The first argument is a format control string, and the rest are data 3750The first argument is a format control string, and the rest are data
3750to be formatted under control of the string. See `format' for details. 3751to be formatted under control of the string. See `format-message' for
3752details.
3751 3753
3752If the first argument is nil or the empty string, clear any existing 3754If the first argument is nil or the empty string, clear any existing
3753message; let the minibuffer contents show. 3755message; let the minibuffer contents show.
@@ -3778,7 +3780,8 @@ If this command was invoked with the mouse, use a dialog box if
3778`use-dialog-box' is non-nil. 3780`use-dialog-box' is non-nil.
3779Otherwise, use the echo area. 3781Otherwise, use the echo area.
3780The first argument is a format control string, and the rest are data 3782The first argument is a format control string, and the rest are data
3781to be formatted under control of the string. See `format' for details. 3783to be formatted under control of the string. See `format-message' for
3784details.
3782 3785
3783If the first argument is nil or the empty string, clear any existing 3786If the first argument is nil or the empty string, clear any existing
3784message; let the minibuffer contents show. 3787message; let the minibuffer contents show.