Markup command name changes.
[lilypond.git] / elisp / lilypond-init.el
blob2ee31da1b25a3f1aa717f65d12beb0ae440bb1cc
1 ;;; lilypond-init.el --- Startup code for LilyPond mode
2 ;;
3 ;; Instructions, extracted from Documentation/topdocs/INSTALL.texi:
5 ;; Emacs mode for entering music and running LilyPond is contained in
6 ;; the source archive as `lilypond-mode.el', `lilypond-indent.el',
7 ;; `lilypond-font-lock.el' and `lilypond-words.el'. You should install
8 ;; these files to a directory included in your `load-path'.
9 ;; File `lilypond-init.el' should be placed to `load-path/site-start.d/'
10 ;; or appended to your `~/.emacs' or `~/.emacs.el'.
12 ;; As a user, you may want add your source path or, e.g., `~/site-lisp/' to
13 ;; your `load-path'. Append the following line (modified) to your `~/.emacs':
15 ;(setq load-path (append (list (expand-file-name "~/site-lisp")) load-path))
17 (autoload 'LilyPond-mode "lilypond-mode" "LilyPond Editing Mode" t)
18 (add-to-list 'auto-mode-alist '("\\.ly$" . LilyPond-mode))
19 (add-to-list 'auto-mode-alist '("\\.ily$" . LilyPond-mode))
20 (add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock)))