Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 442663f

Browse files
committed
emacs: Set indent-tabs-mode in perl-mode
This matches existing practice, but makes the setup complete and consistent with the C code setup.
1 parent 74a68e3 commit 442663f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.dir-locals.el

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
(perl-brace-offset . 0)
1414
(perl-brace-imaginary-offset . 0)
1515
(perl-label-offset . -2)
16+
(indent-tabs-mode . t)
1617
(tab-width . 4)))
1718
(sgml-mode . ((fill-column . 78)
1819
(indent-tabs-mode . nil))))

src/tools/editors/emacs.samples

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
(setq perl-continued-statement-offset 4)
5252
(setq perl-indent-level 4)
5353
(setq perl-label-offset -2)
54+
(setq indent-tabs-mode t)
5455
(setq tab-width 4))
5556

5657
(add-hook 'perl-mode-hook

0 commit comments

Comments
 (0)