summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorPaul Eggert <eggert@Penguin.CS.UCLA.EDU>2015-08-18 23:04:58 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2015-08-18 23:14:08 -0700
commit67de1b6fa752df913ae00537234d1a18bca2543f (patch)
treeabb61f8f7eed292dbcc61ebca1b912ade02dde4b /etc
parent85bc107458601e305445d7ec6f5b209c01f5db0c (diff)
downloademacs-67de1b6fa752df913ae00537234d1a18bca2543f.tar.gz
New q flag for ‘format’
* doc/lispref/processes.texi (Sentinels): Don't hardwire grave quoting style in example. * doc/lispref/strings.texi (Formatting Strings): * etc/NEWS: Document new q flag. * src/editfns.c (Fformat): Implement it.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS13
1 files changed, 9 insertions, 4 deletions
diff --git a/etc/NEWS b/etc/NEWS
index ec3d25c4870..6058f221464 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -912,12 +912,17 @@ create a string, and may return its first argument if the argument
already has the correct value.
+++
+** New ‘format’ flag ‘q’
+The new ‘q’ flag causes ‘format’ to quote the output representation as
+per the value of ‘text quoting-style’. E.g., (format "%qs failed"
+"foo") might return "‘foo’ failed".
+
++++
** substitute-command-keys now replaces quotes.
That is, it converts documentation strings' quoting style as per the
-value of ‘text-quoting-style’ as described above. Doc strings in
-source code can use either curved quotes or grave accent and
-apostrophe. As before, isolated apostrophes and characters preceded
-by \= are output as-is.
+value of ‘text-quoting-style’. Doc strings in source code can use
+either curved quotes or grave accent and apostrophe. As before,
+isolated apostrophes and characters preceded by \= are output as-is.
+++
** The character classes [:alpha:] and [:alnum:] in regular expressions