]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/program-option-scheme.cc
Added information on \bar "||:" also in the section on Repeats.
[lilypond.git] / lily / program-option-scheme.cc
index b636948fa84c8490cb556ebf559a6204fc9dafd6..638aaf634d96fca8d61646e5cacad400bacb7764 100644 (file)
@@ -39,8 +39,6 @@ static SCM option_hash;
 
 void internal_set_option (SCM var, SCM val)
 {
-  scm_hashq_set_x (option_hash, var, val);
-
   if (0)
     ;
   else if (var == ly_symbol2scm ("profile-property-accesses"))
@@ -100,6 +98,16 @@ void internal_set_option (SCM var, SCM val)
       debug_page_breaking_scoring = to_boolean (val);
       val = scm_from_bool (to_boolean (val));
     }
+  else if (var == ly_symbol2scm ("datadir"))
+    {
+      /* ignore input value. */
+      val = ly_string2scm (lilypond_datadir);
+    }
+
+
+  scm_hashq_set_x (option_hash, var, val);
+
+
 }