perl/.dir-locals.el
Aaron Crane a3914761bd 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)".
2015-12-07 20:13:08 +00:00

6 lines
208 B
EmacsLisp

;; 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))))