]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/lily.scm
Merge branch 'master' of git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / scm / lily.scm
index bd6a95be446af7e8eca09ce7d145dad1d7465261..401017181cb39d460a5453caa72ae343cfb3788e 100644 (file)
@@ -5,6 +5,14 @@
 ;;;; (c) 1998--2006 Jan Nieuwenhuizen <janneke@gnu.org>
 ;;;; Han-Wen Nienhuys <hanwen@xs4all.nl>
 
+;; Internationalisation: (_i "to be translated") gets an entry in the
+;; POT file (gettext ) must be invoked explicitely to do the actual
+;; "translation".
+;;(define-macro (_i x) x)
+;;(define-macro-public _i (x) x)
+;;(define-public-macro _i (x) x)
+;; Abbrv-PWR!
+(defmacro-public _i (x) x)
 
 (define (define-scheme-options)
   (for-each (lambda (x)
@@ -359,8 +367,7 @@ The syntax is the same as `define*-public'."
         (stats (gc-stats)))
 
     (list
-     (- (+ (tms:utime t)
-          (tms:stime t))
+     (- (tms:utime t)
        (ly:assoc-get 'gc-time-taken stats))
 
      ;; difficult to put memory amount stats into here.
@@ -372,7 +379,6 @@ The syntax is the same as `define*-public'."
       ((outname (format "~a.profile" (basename name ".ly")))
        (diff (map (lambda (y) (apply - y)) (zip this last))))
     
-    (display diff)
     (ly:progress "\nWriting timing to ~a..." outname)
     (format (open-file outname "w")
            "time: ~a"