diff options
author | Paul Eggert <eggert@Penguin.CS.UCLA.EDU> | 2015-08-18 23:04:58 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2015-08-18 23:14:08 -0700 |
commit | 67de1b6fa752df913ae00537234d1a18bca2543f (patch) | |
tree | abb61f8f7eed292dbcc61ebca1b912ade02dde4b /etc | |
parent | 85bc107458601e305445d7ec6f5b209c01f5db0c (diff) | |
download | emacs-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/NEWS | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -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 |