changeset 41937:9ad71f03b20b

(ispell-buffer-local-parsing): Match xml like sgml.
author Richard M. Stallman <rms@gnu.org>
date Tue, 11 Dec 2001 06:07:52 +0000
parents 2fba35852455
children f8c0a921c536
files lisp/textmodes/ispell.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/ispell.el	Tue Dec 11 06:07:07 2001 +0000
+++ b/lisp/textmodes/ispell.el	Tue Dec 11 06:07:52 2001 +0000
@@ -3127,7 +3127,7 @@
   ;; If needed, test for SGML & HTML modes and set a buffer local nil/t value.
   (if (and ispell-skip-html (not (eq ispell-skip-html t)))
       (set (make-local-variable 'ispell-skip-html)
-	   (not (null (string-match "sgml\\|html"
+	   (not (null (string-match "sgml\\|html\\|xml"
 				    (downcase (symbol-name major-mode)))))))
   ;; Set default extended character mode for given buffer, if any.
   (let ((extended-char-mode (ispell-get-extended-character-mode)))