[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs 21: ispell does not skip tags when using xae
From: |
Kevin Rodgers |
Subject: |
Re: emacs 21: ispell does not skip tags when using xae |
Date: |
Mon, 03 Dec 2001 11:07:19 -0700 |
Rob Browning wrote:
>
> Not sure whether or not ispell intends to support xae, but if so,
> here's a patch.
I think the question is whether xae intends to support ispell. If so,
it only needs to do this:
(set (make-local-variable 'ispell-skip-sgml) t)
Which isn't to say that ispell shouldn't recognize xml as synonym for sgml
and html:
--- emacs21-21.1/lisp/textmodes/ispell.el Fri Sep 7 16:35:56 2001
+++ emacs21-21.1-jahs/lisp/textmodes/ispell.el Sat Nov 10 16:52:24 2001
@@ -3146,7 +3146,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)))
--
Kevin Rodgers <kevinr@ihs.com>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: emacs 21: ispell does not skip tags when using xae,
Kevin Rodgers <=