Commit 41b90495 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(sgml-font-lock-syntactic-keywords):

Use syntax-ppss on a position *before* the char we want to change.
parent 26d41f17
2008-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
* textmodes/sgml-mode.el (sgml-font-lock-syntactic-keywords):
Use syntax-ppss on a position *before* the char we want to change.
2008-07-04 Dan Nicolaescu <dann@ics.uci.edu>
* vc-dir.el (vc-dir-query-replace-regexp): New function.
(vc-dir-tool-bar-map, vc-dir-menu-map): Bind it.
(vc-dir-mode-map): Likewise
(vc-dir-mode-map): Likewise.
2008-07-03 Juanma Barranquero <lekktu@gmail.com>
......
......@@ -292,7 +292,11 @@ Any terminating `>' or `/' is not matched.")
'(("\\(<\\)!--" (1 "< b"))
("--[ \t\n]*\\(>\\)" (1 "> b"))
;; Double quotes outside of tags should not introduce strings.
("\\\"" (0 (if (zerop (car (syntax-ppss))) "."))))
;; Be careful to call `syntax-ppss' on a position before the one we're
;; going to change, so as not to need to flush the data we just computed.
("\"" (0 (if (prog1 (zerop (car (syntax-ppss (match-beginning 0))))
(goto-char (match-end 0)))
"."))))
"Syntactic keywords for `sgml-mode'.")
;; internal
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment