(sgml-parse-tag-backward): Try and detect
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 5 Jun 2003 01:14:23 +0000 (01:14 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 5 Jun 2003 01:14:23 +0000 (01:14 +0000)
commit59444a9cccb3f5c10536f7bfcc776e9afa29438e
treefad57c914470da77e230697e438af933e3a87f64
parenta530382071fde731cc36c549ee9086ca19a345fb
(sgml-parse-tag-backward): Try and detect
when we're starting from within a tag.
(sgml-get-context): When called from inside a tag, do something useful.
Rename the arg now that it's never used for `full' context anymore.
(sgml-calculate-indent): Make `lcon' an argument.
Return nil when we don't know what to do.
If the initial lcon turns out to be wrong, try again.
(sgml-indent-line): If sgml-calculate-indent returns nil, don't indent.
lisp/textmodes/sgml-mode.el