]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/topdocs/FAQ.texi
release: 1.3.133
[lilypond.git] / Documentation / topdocs / FAQ.texi
index 080ee097ede9302f8f573133cee2e246bc9878bc..1f7d909a996f63d300a187d4b702f12b6dd13662 100644 (file)
@@ -62,15 +62,19 @@ yourself:
 
 Yes.  It is included with the source archive as
 @file{lilypond-mode.el} and @file{lilypond-font-lock.el}.  If you have
-an RPM or .deb it is in @file{/usr/share/doc/lilypond-X/}.  You have
-to install it yourself.
+an RPM, it is in @file{/usr/share/doc/lilypond-X/}.  You have to install
+it yourself.
 
-Add this to your .emacs.el:
+Add this to your ~/.emacs or ~/.emacs.el:
 @example 
     (load-library "lilypond-mode.el")
     (setq auto-mode-alist
-     (append '(("\\.ly$" . LilyPond-mode) auto-mode-alist)))
-@end example 
+      (cons '("\\.ly$" . LilyPond-mode) auto-mode-alist))
+    (add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock)))
+@end example
+
+If you have the latest LilyPond-1.3.x Debian package, LilyPond-mode
+is automatically loaded, so you need not modify your ~/.emacs file.
 
 
 @subsection I downloaded the windows32 port, and it doesn't match the website!