X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Flilypond-invoke-editor.scm;h=e993378cb873df9d0457b264044d6cbd23872829;hb=54b02666750062788185bd3f99e644d621e348c2;hp=f8225db1422d7d1a0084e1ec4367c5793a85aac6;hpb=bc95f4434f760d41191341ab4508b2064eb19025;p=lilypond.git diff --git a/scripts/lilypond-invoke-editor.scm b/scripts/lilypond-invoke-editor.scm index f8225db142..e993378cb8 100644 --- a/scripts/lilypond-invoke-editor.scm +++ b/scripts/lilypond-invoke-editor.scm @@ -2,7 +2,7 @@ !# ;;;; lilypond-invoke-editor.scm -- Invoke an editor in file:line:column mode -;;;; Copyright (C) 2005--2010 Jan Nieuwenhuizen +;;;; Copyright (C) 2005--2011 Jan Nieuwenhuizen ;;;; This file is part of LilyPond, the GNU music typesetter. ;;;; @@ -47,12 +47,7 @@ (format #f "~a/share/lilypond/~a" prefix TOPLEVEL-VERSION)))) - - -;; gettext wrapper for guile < 1.7.2 -(if (defined? 'gettext) - (define-public _ gettext) - (define-public (_ x) x)) +(define-public _ gettext) (define (show-version port) (format port "~a (GNU LilyPond) ~a\n" PROGRAM-NAME TOPLEVEL-VERSION)) @@ -134,7 +129,7 @@ Options: (define (run-browser uri) (system (if (getenv "BROWSER") - (format "~a ~a" (getenv "BROWSER") uri) + (format #f "~a ~a" (getenv "BROWSER") uri) (format #f "firefox -remote 'OpenURL(~a,new-tab)'" uri))))