From: Richard M. Stallman Date: Tue, 11 Dec 2001 06:07:52 +0000 (+0000) Subject: (ispell-buffer-local-parsing): Match xml like sgml. X-Git-Tag: ttn-vms-21-2-B4~17805 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4b12215e3e0119b8ecfababd84b712515809874a;p=emacs.git (ispell-buffer-local-parsing): Match xml like sgml. --- 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)))