cperl-mode-map: Don't bind C-j

* lisp/progmodes/cperl-mode.el (cperl-mode-map): Don't bind C-j.
The default global mode bindings will DTRT depending on whether
or not electric-indent-mode is on.
This commit is contained in:
Sean Whitton 2025-04-30 17:28:04 +08:00
parent 9b560a54c3
commit 606e7b73ba

View file

@ -986,7 +986,6 @@ Unless KEEP, removes the old indentation."
(define-key map ")" 'cperl-electric-rparen)
(define-key map ";" 'cperl-electric-semi)
(define-key map ":" 'cperl-electric-terminator)
(define-key map "\C-j" 'newline-and-indent)
(define-key map "\C-c\C-j" 'cperl-linefeed)
(define-key map "\C-c\C-t" 'cperl-invert-if-unless)
(define-key map "\C-c\C-a" 'cperl-toggle-auto-newline)