diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2022-09-27 18:16:51 +0200 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2022-09-29 15:39:27 +0200 |
commit | 5281946fbf6b3cdbec5ce82e0057c71849faf4d2 (patch) | |
tree | 8f519625372642a2faaa4a1bf314a07e2e283a6b /test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-define-obsolete-variable-alias.el | |
parent | 423bdd5f7f273f40f750eac83017074501d52823 (diff) | |
download | emacs-5281946fbf6b3cdbec5ce82e0057c71849faf4d2.tar.gz emacs-5281946fbf6b3cdbec5ce82e0057c71849faf4d2.tar.bz2 emacs-5281946fbf6b3cdbec5ce82e0057c71849faf4d2.zip |
Make format-spec accept function substitutions
* lisp/format-spec.el (format-spec): Accept a function producing the
substitution for a character.
* doc/lispref/strings.texi (Custom Format Strings): Document the
above change.
* test/lisp/format-spec-tests.el (format-spec/function): New test.
Ref. https://lists.gnu.org/r/emacs-devel/2022-09/msg01875.html
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-define-obsolete-variable-alias.el')
0 files changed, 0 insertions, 0 deletions