From b88eed604a4dc73d8de27069b17c136076903ce0 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 20 Mar 2014 18:00:20 -0400 Subject: [PATCH] * electric.el (global-map): Really bind C-j. Fixes: debbugs:16770 --- lisp/electric.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/electric.el b/lisp/electric.el index 4e24101dd6a..91262a23381 100644 --- a/lisp/electric.el +++ b/lisp/electric.el @@ -286,7 +286,8 @@ mode set `electric-indent-inhibit', but this can be used as a workaround.") (let ((electric-indent-mode nil)) (newline arg 'interactive))) -;;;###autoload(define-key global-map "\C-j" 'electric-newline-and-maybe-indent) +;;;###autoload +(define-key global-map "\C-j" 'electric-newline-and-maybe-indent) ;;;###autoload (defun electric-newline-and-maybe-indent () "Insert a newline. -- 2.39.2