procedure doesn't have a name.
+2002-09-05 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+
+ * scm/documentation-lib.scm (scm->string): don't crash if a
+ procedure doesn't have a name.
+
2002-09-05 Juergen Reuter <reuter@ipd.uka.de>
* input/test/custos.ly: updated test file to show all available
;; don't confuse users with #<procedure .. > syntax.
;;
(define (scm->string val)
- (if (procedure? val)
+ (if (and (procedure? val) (symbol? (procedure-name val)))
(symbol->string (procedure-name val))
(string-append
(if (self-evaluating? val) "" "'")
;;;; staffspace (distances)
;;;; WARNING: the meta field should be the last one.
+;;;; WARNING: don't use anonymous functions for initialization.
;; TODO: junk the meta field in favor of something more compact?
(define all-grob-descriptions