 (setq *erlang-support-enabled* t)
 (setq *darcs-support-enabled* t) ; You can use darcs to update these conf files
 (setq *rails-support-enabled* t)
+(setq *spell-check-support-enabled* nil)
 
 
 ;;----------------------------------------------------------------------------

;;----------------------------------------------------------------------------
;; Add spell-checking in comments for all programming language modes
;;----------------------------------------------------------------------------
(dolist (hook '(lisp-mode-hook
                emacs-lisp-mode-hook
                scheme-mode-hook
                ruby-mode-hook
                yaml-mode
                python-mode-hook
                shell-mode-hook
                php-mode-hook
                css-mode-hook
                haskell-mode-hook
                caml-mode-hook
                nxml-mode-hook
                crontab-mode-hook
                perl-mode-hook
                tcl-mode-hook
                ecmascript-mode-hook))
  (add-hook hook 'flyspell-prog-mode))




(setq magic-mode-alist (cons '("<＼＼?xml " . nxml-mode) magic-mode-alist))
(fset 'html-mode 'nxml-mode)
(fset 'xml-mode 'nxml-mode)
(when *spell-check-support-enabled*
  (add-hook 'nxml-mode-hook
            (lambda ()
              (add-to-list 'flyspell-prog-text-faces 'nxml-text-face))))


;;----------------------------------------------------------------------------
