diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el index aaf05e4df1a..ef06db06127 100644 --- a/lisp/textmodes/sgml-mode.el +++ b/lisp/textmodes/sgml-mode.el @@ -1617,6 +1617,8 @@ the current start-tag or the current comment or the current cdata, ..." (and (not sgml-xml-mode) (assoc-string tag-name sgml-unclosed-tags 'ignore-case))) +(defvar sgml-whitespace-sensitive-tags nil + "List of tags where the contents shouldn't be reindented.") (defun sgml-calculate-indent (&optional lcon) "Calculate the column to which this line should be indented. @@ -1629,7 +1631,16 @@ LCON is the lexical context, if any." (save-excursion (goto-char (cdr lcon)) (looking-at "