diff options
author | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2015-03-18 01:37:04 +0100 |
---|---|---|
committer | James E Keenan <jkeenan@cpan.org> | 2015-03-22 22:36:14 -0400 |
commit | abec5bedacd77b2152e61ec3216ab47bd7272fc9 (patch) | |
tree | 2ce39dbf6dd78d6043ee1d52e283f1aaff106c1e /.dir-locals.el | |
parent | 539023973b95d208601bd10848496eae785dcacc (diff) | |
download | perl-abec5bedacd77b2152e61ec3216ab47bd7272fc9.tar.gz |
Replace common Emacs file-local variables with dir-locals
An empty cpan/.dir-locals.el stops Emacs using the core defaults for
code imported from CPAN.
Committer's work:
To keep t/porting/cmp_version.t and t/porting/utils.t happy, $VERSION needed
to be incremented in many files, including throughout dist/PathTools.
perldelta entry for module updates.
Add two Emacs control files to MANIFEST; re-sort MANIFEST.
For: RT #124119.
Diffstat (limited to '.dir-locals.el')
-rw-r--r-- | .dir-locals.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 0000000000..9e118b6f96 --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1,5 @@ +;; Default settings for all except cpan/ +((nil . ((indent-tabs-mode . nil))) ; all modes + (cperl-mode . ((cperl-indent-level 4))) + (c-mode . ((c-indentation-style . bsd) + (c-basic-offset . 4)))) |