 (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)
 
 
 ;;----------------------------------------------------------------------------

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


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

;;----------------------------------------------------------------------------
;; Add spell-checking in comments for all programming language modes
;;----------------------------------------------------------------------------
(when *spell-check-support-enabled*
  (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)))



