]> git.eshelyaron.com Git - emacs.git/commit
Allow passing unknown specs to format-spec
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 11 Jul 2019 16:44:30 +0000 (18:44 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 11 Jul 2019 16:44:30 +0000 (18:44 +0200)
commitb44f0c457997af53808218536ebfdf507ddb5995
treec4fc4df143a0e913b8c6d9ea91ac159b4afd102f
parentb41ddb7a8b11c8234e2f010d0db1b13e395468ae
Allow passing unknown specs to format-spec

* lisp/format-spec.el (format-spec): Allow passing through format
strings that have no specs (to be able to act as a filter).  Also
add an example.
* test/lisp/format-spec-tests.el (test-format-spec): Add tests for
the new functionality.
lisp/format-spec.el
test/lisp/format-spec-tests.el