]> git.donarmstrong.com Git - lilypond.git/commitdiff
Instructions, extracted from Documentation/topdocs/INSTALL.texi.
authorHeikki Junes <heikki.junes@hut.fi>
Tue, 19 Nov 2002 22:01:34 +0000 (22:01 +0000)
committerHeikki Junes <heikki.junes@hut.fi>
Tue, 19 Nov 2002 22:01:34 +0000 (22:01 +0000)
ChangeLog
lilypond-init.el
lilypond-mode.el

index 0dafdb72efa9ab922278bdbec8c3501e478b1aef..ab83c99a01280f62a7c6a6fa2878717b886a58f5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,12 +1,16 @@
 2002-11-19  Heikki Junes <hjunes@cc.hut.fi>
 
        * lilypond-mode.el: LilyPond-imenu-generic-re: only alphabetic chars,
-       remove instructions (found in lilypond-init.el or Documentation).
+       remove instructions; instead, refer to lilypond-init.el and
+       Documentation/topdocs/INSTALL.texi.
 
-       * lilypond.words: add identifiers.
+       * lilypond.words: add identifiers and reserved words.
 
        * Documentation/topdocs/INSTALL.texi: separate sections for installing
        files and adding a load-path.
+
+       * lilypond-init.el: Instructions, extracted from 
+       Documentation/topdocs/INSTALL.texi. 
        
 2002-11-19  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
 
index b92bed22d3c7b63ec7a0d7f68ffa328f5d797a58..d6488828afcb1a5ad0c2b50e22025a82473faf76 100644 (file)
@@ -1,11 +1,19 @@
 ;;; lilypond-init.el --- Startup code for LilyPond mode
-;;;
-;;; Add this to your ~/.emacs or ~/.emacs.el, or
-;;; install this file into Emacs' site-start.d
+;;
+;; Instructions, extracted from Documentation/topdocs/INSTALL.texi: 
 
-(autoload 'LilyPond-mode "lilypond-mode")
-(setq auto-mode-alist
-      (cons '("\\.ly$" . LilyPond-mode) auto-mode-alist))
+;; Emacs mode for entering music and running LilyPond is contained in
+;; the source archive as `lilypond-mode.el', `lilypond-indent.el' and 
+;; `lilypond-font-lock.el'. You should install these files to a directory 
+;; included in your `load-path'. File `lilypond-init.el' should be placed to 
+;; `load-path/site-start.d/' or appended to your `~/.emacs' or `~/.emacs.el'. 
 
+;; As a user, you may want add your source path or, e.g., `~/site-lisp/' to
+;; your `load-path'. Append the following line (modified) to your `~/.emacs':
+
+;(setq load-path (append (list (expand-file-name "~/site-lisp")) load-path))
+
+(autoload 'LilyPond-mode "lilypond-mode" "LilyPond Editing Mode" t)
+(add-to-list 'auto-mode-alist '("\\.ly$" . LilyPond-mode))
 (add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock)))
 
index 9cd62cb905e8873329f2f82e9be26d58a4393b9c..f95098542b342ffe248029c16dacac37e6e0e6b7 100644 (file)
@@ -15,6 +15,9 @@
 
 ;;; Inspired on auctex
 
+;;; Look lilypond-init.el or Documentation/topdocs/INSTALL.texi
+;;; for installing instructions.
+
 (load-library "lilypond-font-lock")
 (load-library "lilypond-indent")