]> git.eshelyaron.com Git - emacs.git/commit
Minor improvements to format field numbers
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 1 Jun 2017 05:09:39 +0000 (22:09 -0700)
committerPhilipp Stephani <phst@google.com>
Thu, 1 Jun 2017 22:25:48 +0000 (00:25 +0200)
commit53247108411a1e9d1aa5352c231fa049f3f918aa
treebb550ccc67607f7f3cfc6a135b0838fff4b4c8c9
parent0dd1bbb0bb228acab21b8e16f2f2a0b5a17b19ab
Minor improvements to format field numbers

* src/editfns.c (styled_format): Allow field numbers in a %% spec.
No need for a special diagnostic for field numbers greater than
PTRDIFF_MAX.  Reword diagnostic for field 0.
* test/src/editfns-tests.el (format-with-field): Adjust to match.
doc/lispref/strings.texi
etc/NEWS
src/editfns.c
test/src/editfns-tests.el