emacs: Set indent-tabs-mode in perl-mode

This matches existing practice, but makes the setup complete and
consistent with the C code setup.
This commit is contained in:
Peter Eisentraut 2015-04-12 23:53:23 -04:00
parent 74a68e37d0
commit 442663f133
2 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@
(perl-brace-offset . 0)
(perl-brace-imaginary-offset . 0)
(perl-label-offset . -2)
(indent-tabs-mode . t)
(tab-width . 4)))
(sgml-mode . ((fill-column . 78)
(indent-tabs-mode . nil))))

View File

@ -51,6 +51,7 @@
(setq perl-continued-statement-offset 4)
(setq perl-indent-level 4)
(setq perl-label-offset -2)
(setq indent-tabs-mode t)
(setq tab-width 4))
(add-hook 'perl-mode-hook