• Paul Eggert's avatar
    Limit format fields to more POSIX-like spec · 8de2581a
    Paul Eggert authored
    * doc/lispref/strings.texi (Formatting Strings):
    Don’t allow mixing numbered with unnumbered format specs.
    * src/editfns.c (styled_format): Don’t bother checking for field 0,
    since it doesn’t crash and the behavior is not specified.
    * test/src/editfns-tests.el (format-with-field): Adjust tests to
    match current doc.  Add more tests for out-of-range fields.
    8de2581a
strings.texi 50.2 KB