From: David Kastrup Date: Sat, 16 Mar 2013 14:21:20 +0000 (+0100) Subject: Remove obscure GNOME-backend related commands from Emacs LilyPond-mode X-Git-Tag: release/2.17.15-1~17^2~3 X-Git-Url: https://git.donarmstrong.com/?p=lilypond.git;a=commitdiff_plain;h=c5f7df91574f689166f3cc7f4ca170ef8909826b Remove obscure GNOME-backend related commands from Emacs LilyPond-mode Those backends don't exist in current LilyPond. Providing commands for them is just confusing. --- diff --git a/elisp/lilypond-mode.el b/elisp/lilypond-mode.el index bab58f29ed..d9dcc7be47 100644 --- a/elisp/lilypond-mode.el +++ b/elisp/lilypond-mode.el @@ -435,8 +435,6 @@ in LilyPond-include-path." `( ("LilyPond" . (,(concat LilyPond-lilypond-command " %s") "%s" "%l" "View")) ("2PS" . (,(concat LilyPond-lilypond-command " -f ps %s") "%s" "%p" "ViewPS")) - ("2Gnome" . (,(concat LilyPond-lilypond-command " -b gnome %s"))) - ("Book" . ("lilypond-book %x" "%x" "%l" "LaTeX")) ("LaTeX" . ("latex '\\nonstopmode\\input %l'" "%l" "%d" "ViewDVI")) @@ -569,11 +567,6 @@ Must be the car of an entry in `LilyPond-command-alist'." (LilyPond-command (LilyPond-command-menu "2PS") 'LilyPond-get-master-file) ) -(defun LilyPond-command-formatgnome () - "Format the gnome output of the current document." - (interactive) - (LilyPond-command (LilyPond-command-menu "2Gnome") 'LilyPond-get-master-file)) - (defun LilyPond-command-formatmidi () "Format the midi output of the current document." (interactive) @@ -757,7 +750,6 @@ command." (define-key LilyPond-mode-map "\C-c\C-c" 'LilyPond-command-master) (define-key LilyPond-mode-map "\C-cm" 'LilyPond-command-formatmidi) (define-key LilyPond-mode-map "\C-c\C-f" 'LilyPond-command-formatps) - (define-key LilyPond-mode-map "\C-c\C-g" 'LilyPond-command-formatgnome) (define-key LilyPond-mode-map "\C-c\C-s" 'LilyPond-command-view) (define-key LilyPond-mode-map "\C-c\C-p" 'LilyPond-command-viewps) (define-key LilyPond-mode-map [(control c) return] 'LilyPond-command-current-midi)