]> git.eshelyaron.com Git - emacs.git/commitdiff
* electric.el (global-map): Really bind C-j.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 20 Mar 2014 22:00:20 +0000 (18:00 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 20 Mar 2014 22:00:20 +0000 (18:00 -0400)
Fixes: debbugs:16770
lisp/electric.el

index 4e24101dd6a384c98cbbaa789e99c9c32e3b3cc0..91262a2338151e59d6e028fb8a6b5aa201e75930 100644 (file)
@@ -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.