mirror of
https://github.com/Perl/perl5.git
synced 2026-01-26 00:27:57 +00:00
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)".
6 lines
208 B
EmacsLisp
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))))
|