(custom-set-variables
  ;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 '(c-basic-offset (quote set-from-style))
 '(c-default-style (quote ((java-mode . "java") (other . "gnu"))))
 '(c-echo-syntactic-information-p nil)
 '(c-strict-syntax-p nil)
 '(c-syntactic-indentation t)
 '(cperl-brace-offset -2)
 '(global-font-lock-mode t nil (font-lock))
 '(indent-tabs-mode nil)
 '(make-backup-files nil)
 '(perl-continued-brace-offset -2)
 '(perl-continued-statement-offset 2)
 '(perl-indent-level 2)
 '(standard-indent 2)
 '(tab-always-indent nil)
 '(tab-width 2))
(custom-set-faces
  ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 '(default ((t (:stipple nil :background "black" :foreground "green" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight bold :height 150 :width normal :family "adobe-courier"))))
 '(cperl-array-face ((t (:foreground "yellow" :weight bold))))
 '(cperl-hash-face ((t (:foreground "magenta" :weight bold))))
 '(nxml-attribute-local-name-face ((t (:inherit nxml-name-face :foreground "chocolate"))))
 '(nxml-attribute-value-face ((t (:inherit nxml-delimited-data-face :foreground "salmon"))))
 '(nxml-name-face ((nil (:foreground "cornflower blue"))))
 '(nxml-namespace-attribute-xmlns-face ((t (:inherit nxml-name-face))))
 '(nxml-ref-face ((nil (:foreground "gold")))))

;; I prefer cperl-mode to the default perl-mode
(add-to-list 'auto-mode-alist '("\\.\\([pP][Llm]\\|al\\)\\'" . cperl-mode))
(add-to-list 'interpreter-mode-alist '("perl" . cperl-mode))
(add-to-list 'interpreter-mode-alist '("perl5" . cperl-mode))
(add-to-list 'interpreter-mode-alist '("miniperl" . cperl-mode))

(put 'narrow-to-region 'disabled nil)

;; Support for editing xml files
(load "~/build/nxml-mode-20031031/rng-auto.el")
(setq auto-mode-alist (cons '("\\.\\(xml\\|xsl\\|rng\\|xhtml\\)\\'" . nxml-mode) auto-mode-alist))

;;; lilypond-init.el --- Startup code for LilyPond mode
;;
;; Instructions, extracted from Documentation/topdocs/INSTALL.texi: 

;; Emacs mode for entering music and running LilyPond is contained in
;; the source archive as `lilypond-mode.el', `lilypond-indent.el',
;; `lilypond-font-lock.el' and `lilypond-words.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)))