mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-05 11:45:45 +00:00
(sgml-guess-indent): Look further into the buffer.
This commit is contained in:
parent
754774523d
commit
232dbe4f66
@ -1,3 +1,8 @@
|
||||
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)))
|
||||
|
Loading…
Reference in New Issue
Block a user