1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 11:50:51 -08:00

(sgml-guess-indent): Handle tabs correctly.

This commit is contained in:
Mike Williams 2002-09-29 06:00:18 +00:00
parent e2f484bc7a
commit 1c8438abac
2 changed files with 6 additions and 1 deletions

View file

@ -1288,7 +1288,7 @@ Add this to `sgml-mode-hook' for convenience."
(if (re-search-forward "^\\([ \t]+\\)<" 500 'noerror)
(progn
(set (make-local-variable 'sgml-basic-offset)
(length (match-string 1)))
(1- (current-column)))
(message "Guessed sgml-basic-offset = %d"
sgml-basic-offset)
))))