From 485c7aab6bf41f177a04fde6f3498fff1d110dc3 Mon Sep 17 00:00:00 2001 From: Mark Polesky Date: Fri, 11 Jul 2014 00:16:46 -0700 Subject: [PATCH] Issue 3952: Automatically sort props within each grob-interface. Ensures that "User settable properties" and "Internal properties" are listed in sorted order in the "Graphical Object Interfaces" section of the IR. This was originally pushed with commit 84f0776, but was accidentally reverted with commit 0ea80a5. --- scm/document-backend.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scm/document-backend.scm b/scm/document-backend.scm index d9ec2b00b5..406f09aacb 100644 --- a/scm/document-backend.scm +++ b/scm/document-backend.scm @@ -176,6 +176,16 @@ node." (cons (cons key val) prior)) '() (ly:all-grob-interfaces))) +;; sort user-settable and internal props within each grob-interface +(set! interface-description-alist + (map! (lambda (iface-desc) + (let* ((key-name-docstr (list-head iface-desc 3)) + (props (list-tail iface-desc 3)) + (sorted-props (list (sort (car props) ly:symbol-ci