Werner LEMBERG <w...@gnu.org> writes: >>> you can use `set!`: > > Thanks! > >>> But note that this may cause race conditions, [...] > > Please explain and/or give an example. > >> The global variable afterGraceFraction has bothered me for some time >> now. Shouldn't this be a context property? [...] > > I guess that David has thought about that... > >> (Of course, the current implementation of afterGrace makes this >> comparatively hard to achieve, since the fraction is used for >> determining the length of a skip IIRC.) > > ...and came to the conclusion that a global variable is the easiest > solution :-)
I refuse that honor. afterGraceFraction was introduced with commit 4e39a726c0dd6db9d2f590cc05daa907115bb916 Author: Han-Wen Nienhuys <han...@xs4all.nl> Date: Sun Nov 28 17:33:34 2004 +0000 *** empty log message *** and all I did was to provide an optional argument to \afterGrace to be able to forego that effectively hardcoded wart. Optional music function arguments were not a thing in 2004. -- David Kastrup