Commit 232dbe4f authored by Mike Williams's avatar Mike Williams

(sgml-guess-indent): Look further into the buffer.

parent 75477452
2002-05-22 Mike Williams <mdub@bigfoot.com>
* textmodes/sgml-mode.el (sgml-guess-indent): Look further into
the buffer.
2002-05-21 Markus Rost <rost@math.ohio-state.edu>
* lpr.el: Fix typo in Commentary section.
......
......@@ -1235,7 +1235,7 @@ Add this to `sgml-mode-hook' for convenience."
(interactive)
(save-excursion
(goto-char (point-min))
(if (re-search-forward "^\\([ \t]+\\)<" 100 'noerror)
(if (re-search-forward "^\\([ \t]+\\)<" 500 'noerror)
(progn
(set (make-local-variable 'sgml-basic-offset)
(length (match-string 1)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment