mirror of
https://github.com/Perl/perl5.git
synced 2026-01-26 08:38:23 +00:00
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)".
This commit is contained in:
parent
9b46180457
commit
a3914761bd
@ -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))))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user