summaryrefslogtreecommitdiff
path: root/scm
diff options
context:
space:
mode:
authorDavid Kastrup <dak@gnu.org>2016-06-02 12:34:36 +0200
committerDavid Kastrup <dak@gnu.org>2016-06-09 09:36:12 +0200
commit536ecabb8301e3b0c242f2bb5fb1e0df3b194fa0 (patch)
tree1bd28d3dbec0cab416a50558c4137f869b23767e /scm
parent88f80785a4eaa56c941bedcfe2c9508793eea2a5 (diff)
Issue 4875: Make define-session{,-public} private
At the current point of time, their execution only makes sense in the lily module anyway.
Diffstat (limited to 'scm')
-rw-r--r--scm/lily.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scm/lily.scm b/scm/lily.scm
index 9b8afa63b5..d1248cdd92 100644
--- a/scm/lily.scm
+++ b/scm/lily.scm
@@ -103,7 +103,7 @@
(variable-set! var value)
var))
-(defmacro-public define-session (name value)
+(defmacro define-session (name value)
"This defines a variable @var{name} with the starting value
@var{value} that is reinitialized at the start of each session.
A@tie{}session basically corresponds to one LilyPond file on the
@@ -121,7 +121,7 @@ session has started."
(cons (make-session-variable name value) lilypond-declarations)))
`(,add-session-variable ',name ,value))
-(defmacro-public define-session-public (name value)
+(defmacro define-session-public (name value)
"Like @code{define-session}, but also exports @var{name} into parser modules."
(define (add-session-variable name value)
(set! lilypond-exports