- **status**: Fixed --> Verified
---
** [issues:#5145] Allow $... to specify a markup command**
**Status:** Verified
**Labels:** Fixed_2_19_63
**Created:** Mon Jun 12, 2017 03:16 PM UTC by David Kastrup
**Last Updated:** Sat Jun 17, 2017 06:51 AM UTC
**Owner:** David Kastrup
Allow $... to specify a markup command
This is a partial (though more flexible) substitute for \on-the-fly
since it allows to replace
\on-the-fly #(lambda (layout props args) ...)
with
$(let ((fun (lambda (layout props args) ...)))
(set! (markup-command-signature fun) (list markup?))
fun)
Namely: ad-hoc written functions (probably most useful when written
using macros) can be employed as markup commands when preceded with $
as long as they have a suitable markup command signature attached.
This feature is mainly added for consistency with music functions.
Lexer: factor out push_markup_predicates
http://codereview.appspot.com/322090043
---
Sent from sourceforge.net because testlilyissues-a...@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is
a mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Testlilyissues-auto mailing list
testlilyissues-a...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto