# HG changeset patch # User Mike Williams # Date 1022060447 0 # Node ID 62d5e10140e7a738197f69af1010f222c4e8a2fd # Parent 08f6484ce6c59fd6a9a76f017ade043b20dd5212 (sgml-guess-indent): Look further into the buffer. diff -r 08f6484ce6c5 -r 62d5e10140e7 lisp/textmodes/sgml-mode.el --- a/lisp/textmodes/sgml-mode.el Wed May 22 01:20:26 2002 +0000 +++ b/lisp/textmodes/sgml-mode.el Wed May 22 09:40:47 2002 +0000 @@ -1235,7 +1235,7 @@ (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)))