Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
232dbe4f
Commit
232dbe4f
authored
May 22, 2002
by
Mike Williams
Browse files
(sgml-guess-indent): Look further into the buffer.
parent
75477452
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/textmodes/sgml-mode.el
lisp/textmodes/sgml-mode.el
+1
-1
No files found.
lisp/ChangeLog
View file @
232dbe4f
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.
...
...
lisp/textmodes/sgml-mode.el
View file @
232dbe4f
...
...
@@ -1235,7 +1235,7 @@ Add this to `sgml-mode-hook' for convenience."
(
interactive
)
(
save-excursion
(
goto-char
(
point-min
))
(
if
(
re-search-forward
"^\\([ \t]+\\)<"
1
00
'noerror
)
(
if
(
re-search-forward
"^\\([ \t]+\\)<"
5
00
'noerror
)
(
progn
(
set
(
make-local-variable
'sgml-basic-offset
)
(
length
(
match-string
1
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment