diff options
author | Aaron Crane <arc@cpan.org> | 2015-12-07 20:13:08 +0000 |
---|---|---|
committer | Aaron Crane <arc@cpan.org> | 2015-12-07 20:13:08 +0000 |
commit | a3914761bd81864e97c2c9093945a00fd3b2cf8f (patch) | |
tree | 3613336dee3470378a4e4b7e0fad0ef17494e70c /.dir-locals.el | |
parent | 9b46180457d99e346fe519d8772ee79507fd4b01 (diff) | |
download | perl-a3914761bd81864e97c2c9093945a00fd3b2cf8f.tar.gz |
Fix Emacs dir-local variables
The setting for cperl-indent-level (which sets the default indentation step
used by Emacs for Perl code) was missing a dot in the relevant cons pair.
This meant that the value set was the single-element list (4) rather than
the integer 4, so attempting to indent lines made Emacs produce an error
"Wrong type argument: number-or-marker-p, (4)".
Diffstat (limited to '.dir-locals.el')
-rw-r--r-- | .dir-locals.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.dir-locals.el b/.dir-locals.el index 9e118b6f96..cf0c8428be 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -1,5 +1,5 @@ ;; Default settings for all except cpan/ ((nil . ((indent-tabs-mode . nil))) ; all modes - (cperl-mode . ((cperl-indent-level 4))) + (cperl-mode . ((cperl-indent-level . 4))) (c-mode . ((c-indentation-style . bsd) (c-basic-offset . 4)))) |