Commit 442663f1 authored by Peter Eisentraut's avatar Peter Eisentraut

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

This matches existing practice, but makes the setup complete and
consistent with the C code setup.
parent 74a68e37
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
(perl-brace-offset . 0) (perl-brace-offset . 0)
(perl-brace-imaginary-offset . 0) (perl-brace-imaginary-offset . 0)
(perl-label-offset . -2) (perl-label-offset . -2)
(indent-tabs-mode . t)
(tab-width . 4))) (tab-width . 4)))
(sgml-mode . ((fill-column . 78) (sgml-mode . ((fill-column . 78)
(indent-tabs-mode . nil)))) (indent-tabs-mode . nil))))
...@@ -51,6 +51,7 @@ ...@@ -51,6 +51,7 @@
(setq perl-continued-statement-offset 4) (setq perl-continued-statement-offset 4)
(setq perl-indent-level 4) (setq perl-indent-level 4)
(setq perl-label-offset -2) (setq perl-label-offset -2)
(setq indent-tabs-mode t)
(setq tab-width 4)) (setq tab-width 4))
(add-hook 'perl-mode-hook (add-hook 'perl-mode-hook
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment