From 9bd283b9f1bb5d42138533dfa9a39d6c436da93e Mon Sep 17 00:00:00 2001 From: Mark Polesky Date: Mon, 2 Jun 2014 15:31:35 -0700 Subject: [PATCH] Issue 3932: Clean up code for sorting grob-properties. --- scm/document-backend.scm | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/scm/document-backend.scm b/scm/document-backend.scm index 80ba17a3ba..e311695005 100644 --- a/scm/document-backend.scm +++ b/scm/document-backend.scm @@ -16,27 +16,30 @@ ;;;; You should have received a copy of the GNU General Public License ;;;; along with LilyPond. If not, see . -(define (sort-grob-properties x) +(define (sort-grob-properties props) ;; force 'meta to the end of each prop-list - (let ((meta (assoc 'meta x))) - (append (sort (assoc-remove! x 'meta) ly:alist-ci