Mercurial > emacs
changeset 92748:ef656c281e1e
(sgml-font-lock-syntactic-keywords): Mark " outside of tags as punctuation.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 12 Mar 2008 03:15:13 +0000 |
parents | 98f0d29f01c5 |
children | 4578d4f0f0b2 |
files | lisp/ChangeLog lisp/textmodes/sgml-mode.el |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Tue Mar 11 22:02:46 2008 +0000 +++ b/lisp/ChangeLog Wed Mar 12 03:15:13 2008 +0000 @@ -1,3 +1,8 @@ +2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca> + + * textmodes/sgml-mode.el (sgml-font-lock-syntactic-keywords): + Mark " outside of tags as punctuation. + 2008-03-11 Stefan Monnier <monnier@iro.umontreal.ca> * menu-bar.el (minibuffer-local-map): Use the same command for the
--- a/lisp/textmodes/sgml-mode.el Tue Mar 11 22:02:46 2008 +0000 +++ b/lisp/textmodes/sgml-mode.el Wed Mar 12 03:15:13 2008 +0000 @@ -292,7 +292,9 @@ ;; comments recognized when `sgml-specials' includes ?-. ;; FIXME: beware of <!--> blabla <!--> !! '(("\\(<\\)!--" (1 "< b")) - ("--[ \t\n]*\\(>\\)" (1 "> b"))) + ("--[ \t\n]*\\(>\\)" (1 "> b")) + ;; Double quotes outside of tags should not introduce strings. + ("\\\"" (0 (if (zerop (car (syntax-ppss))) ".")))) "Syntactic keywords for `sgml-mode'.") ;; internal