Have `sgml-attribute-offset' control SGML attribute indentation
commitf4c23f458367769ba9a701792fa5720e58827fb4
authorJackson Ray Hamilton <jackson@jacksonrayhamilton.com>
Sun, 22 Mar 2015 15:22:29 +0000 (22 08:22 -0700)
committerJackson Ray Hamilton <jackson@jacksonrayhamilton.com>
Mon, 23 Mar 2015 03:47:43 +0000 (22 20:47 -0700)
tree6fe5febe6ecdc5edf8cef3af006e9af08d7079dd
parent70a8bbe4437abe9166ba5522437c70791869fc95
Have `sgml-attribute-offset' control SGML attribute indentation

Fixes: debbugs:20161

* textmodes/sgml-mode.el (sgml-attribute-offset): New defcustom.
(sgml-calculate-indent): Use `sgml-attribute-offset' for attribute
indentation.
lisp/ChangeLog
lisp/textmodes/sgml-mode.el
test/indent/sgml-mode-attribute.html [new file with mode: 0644]