Skip to content

Commit a391476

Browse files
committed
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)".
1 parent 9b46180 commit a391476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.dir-locals.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
;; Default settings for all except cpan/
22
((nil . ((indent-tabs-mode . nil))) ; all modes
3-
(cperl-mode . ((cperl-indent-level 4)))
3+
(cperl-mode . ((cperl-indent-level . 4)))
44
(c-mode . ((c-indentation-style . bsd)
55
(c-basic-offset . 4))))

0 commit comments

Comments
 (0)