summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kastrup <dak@gnu.org>2016-08-24 19:45:55 +0200
committerDavid Kastrup <dak@gnu.org>2016-08-24 19:47:00 +0200
commit41fdcaf775c8c55749c4cee839c7b1231d5d2e15 (patch)
tree530aefc89b9124f2a8a0be79413becc14e4539af
parent2e0077b3e57aa62c5a15ebfbc044e3ad447da44d (diff)
Issue 4959: output-ps.scm: remove unused helper functions
Their presence makes debugging harder by laying false trails.
-rw-r--r--scm/output-ps.scm19
1 files changed, 0 insertions, 19 deletions
diff --git a/scm/output-ps.scm b/scm/output-ps.scm
index 70b13848e4..6d3ab63c2f 100644
--- a/scm/output-ps.scm
+++ b/scm/output-ps.scm
@@ -35,25 +35,6 @@
(scm framework-ps)
(lily))
-;;; helper functions, not part of output interface
-;;;
-
-
-;; ice-9 format uses a lot of memory
-;; using simple-format almost halves lilypond cell usage
-
-(define (str4 num)
- (if (or (nan? num) (inf? num))
- (begin
- (ly:warning (_ "Found infinity or nan in output. Substituting 0.0"))
- (if (ly:get-option 'strict-infinity-checking)
- (exit 1))
- "0.0")
- (ly:number->string num)))
-
-(define (number-pair->string4 numpair)
- (ly:format "~4l" numpair))
-
;;;
;;; Lily output interface, PostScript implementation --- cleanup and docme
;;;