From: Mark Polesky Date: Fri, 11 Jul 2014 07:16:46 +0000 (-0700) Subject: Issue 3952: Automatically sort props within each grob-interface. X-Git-Tag: release/2.19.11-1~33 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=485c7aab6bf41f177a04fde6f3498fff1d110dc3;p=lilypond.git 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. --- 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