]> gitweb.michael.orlitzky.com - emacs.d.git/blob - mode-hooks/nxml-mode-hooks.el
Rename basic-mode-hooks to visual-basic-mode-hooks, fix indentation.
[emacs.d.git] / mode-hooks / nxml-mode-hooks.el
1 (defun nxmlm-hook()
2
3 (custom-set-faces
4 ;; Get rid of that goddamn underline face
5 '(rng-error-face ((t (:foreground "yellow" :weight light)))))
6
7 ;; Start flyspell, checking only prog-mode faces.
8 (flyspell-prog-mode)
9
10 ;; And add normal xml text to that list of prog-mode faces.
11 (add-to-list 'flyspell-prog-text-faces 'nxml-text-face)
12 )
13
14 (add-hook 'nxml-mode-hook (function nxmlm-hook))