From 4b12215e3e0119b8ecfababd84b712515809874a Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 11 Dec 2001 06:07:52 +0000 Subject: [PATCH] (ispell-buffer-local-parsing): Match xml like sgml. --- lisp/textmodes/ispell.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index d47be46e4b8..a2d7af65214 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -3127,7 +3127,7 @@ Includes Latex/Nroff modes and extended character mode." ;; 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))) -- 2.39.5