---
** [issues:#5396] lilypond-invoke-editor runs twice**
**Status:** Accepted
**Created:** Fri Aug 03, 2018 04:21 AM UTC by Federico Bruni
**Last Updated:** Fri Aug 03, 2018 04:21 AM UTC
**Owner:** nobody
https://lists.gnu.org/archive/html/bug-lilypond/2018-08/msg00000.html
After installation, there are two `lilypond-invoke-editor` files:
/usr/local/bin/lilypond-invoke-editor
/usr/local/lilypond/usr/bin/lilypond-invoke-editor
The first is a simple script that sets some environment and invokes the
LilyPond version of Guile with the second file, which is the actual Scheme
program. **The script uses the `-e main` option which causes Guile to invoke
the named function; however, there is already an explicit invocation of `main`
at the end of the Scheme program. This results in the functionality running
twice.**
I suppose that, depending on how you have your EDITOR or LYEDITOR variables
configured, you might not notice a double launch; but I was certainly confused
at first why I was getting repeated behavior.
---
Sent from sourceforge.net because [email protected] 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto