Variable: sgml-specials
sgml-specials is a variable defined in sgml-mode.el.gz.
Value
(34 39)
Documentation
List of characters that have a special meaning for SGML mode.
This list is used when first loading the sgml-mode library.
The supported characters are ?\", ?', and ?-.
Including ?- makes double dashes into comment delimiters, but they are really only supposed to delimit comments within DTD definitions. So we normally turn it off.
Probably introduced at or before Emacs version 19.31.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/sgml-mode.el.gz
;; The official handling of "--" is complicated in SGML, and
;; historically not well supported by browser HTML parsers.
;; Recommendations for writing HTML comments is to use <!--...-->
;; (where ... doesn't contain "--") to avoid the complications
;; altogether (XML goes even further by requiring this in the spec).
;; So there is probably no need to handle it "correctly".
(defvar sgml-specials '(?\" ?\')
"List of characters that have a special meaning for SGML mode.
This list is used when first loading the `sgml-mode' library.
The supported characters are ?\\\", ?\\=', and ?-.
Including ?- makes double dashes into comment delimiters, but
they are really only supposed to delimit comments within DTD
definitions. So we normally turn it off.")