On Mon, Mar 25, 2013 at 10:43 AM, Beda Szukics <[email protected]>wrote:
> Greetings
>
> Am 25.03.2013 14:09, schrieb Ralph Palmer:
> > Greetings -
> >
> > I'm running LilyPond 2.16.2 under Windows 7, SP1.
> >
> > I've copied the *.el files from lilypond\..\site-lisp to
> > \emacs\emacs-24.3\site-lisp
>
> I did the same (exept that I created a neu subdirectory
> site-lisp\lilypond\).
>
>
> I appended the following to my ~/.emacs:
>
> (autoload 'LilyPond-mode "lilypond-mode")
> (setq auto-mode-alist
> (cons '("\\.ly$" . LilyPond-mode) auto-mode-alist))
>
> (add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock)))
>
> If I open a .ly-file or create a new one, the emacs switches into the
> Lilypond mode (witch I can turn off with <Mx LilyPond-mode>.
>
> Hope that helps.
>
> (I can't switch the pdf-viewer to SumatraPDF -- but that's an other
> problem.)
>
> Beda
Thanks, Beda -
I found one difference between what I had in my .emacs and what you had in
yours. I changed that to mirror yours, then I added a subdirectory -
\site-lisp\lilypond - and moved the lilypond*.el files to that
subdirectory. I'm still getting
Symbol's function definition is void: lilypond-mode
I'm afraid I can't help you with SumatraPDF.
Ralph
--
Ralph Palmer
Brattleboro, VT
USA
[email protected]
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user