+2013-02-28 Dale Sedivec <dale@codefu.org>
+
+ * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
+ Return valid syntax-table property value when converting
+ quotes within text from string syntax to punctuation syntax (bug#13844).
+
2013-02-28 Juri Linkov <juri@jurta.org>
* dired-aux.el (dired-diff): If file at point is a backup file,
(defconst sgml-syntax-propertize-function
(syntax-propertize-rules
- ;; Use the `b' style of comments to avoid interference with the -- ... --
- ;; comments recognized when `sgml-specials' includes ?-.
+ ;; Use the `b' style of comments to avoid interference with the -- ... --
+ ;; comments recognized when `sgml-specials' includes ?-.
;; FIXME: beware of <!--> blabla <!--> !!
("\\(<\\)!--" (1 "< b"))
("--[ \t\n]*\\(>\\)" (1 "> b"))
;; 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)))
- "."))))
+ (string-to-syntax ".")))))
"Syntactic keywords for `sgml-mode'.")
;; internal