aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorMike Williams <[email protected]>2002-05-22 09:40:48 +0000
committerMike Williams <[email protected]>2002-05-22 09:40:48 +0000
commit232dbe4f66c1cf38a9c42f4d598412cc6dc02fc0 (patch)
tree46ca83bd8e924a796399fb81cee662a9ecf311e0 /lisp/textmodes
parent754774523d5dab0d951794db9169f6051e329045 (diff)
(sgml-guess-indent): Look further into the buffer.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/sgml-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el
index 58aec14b48..a9e13c7c49 100644
--- a/lisp/textmodes/sgml-mode.el
+++ b/lisp/textmodes/sgml-mode.el
@@ -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)))