changeset 45463:62d5e10140e7

(sgml-guess-indent): Look further into the buffer.
author Mike Williams <mdub@bigfoot.com>
date Wed, 22 May 2002 09:40:47 +0000
parents 08f6484ce6c5
children f45806ed6479
files lisp/textmodes/sgml-mode.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)))