1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(ispell-buffer-local-parsing): Match xml like sgml.

This commit is contained in:
Richard M. Stallman 2001-12-11 06:07:52 +00:00
parent fe30e73fcd
commit 4b12215e3e

View file

@ -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)))