Skip to content

Commit

Permalink
emacs: Set indent-tabs-mode in perl-mode
Browse files Browse the repository at this point in the history
This matches existing practice, but makes the setup complete and
consistent with the C code setup.
  • Loading branch information
petere committed Apr 13, 2015
1 parent 74a68e3 commit 442663f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dir-locals.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))))
1 change: 1 addition & 0 deletions src/tools/editors/emacs.samples
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 442663f

Please sign in to comment.