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:
parent
e2f484bc7a
commit
1c8438abac
2 changed files with 6 additions and 1 deletions
|
|
@ -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)
|
||||
))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue