2.2.3 Void scheme functions

Sometimes a function is only executed for its side effects. In that case, using a Scheme function means that its value will not usually be considered:

noPointAndClick =
#(define-scheme-function
     (parser location)
     ()
   (ly:set-option 'point-and-click #f))
...
\noPointAndClick   % disable point and click

LilyPond — Extending