From c18add241de89fc7c92200ffcd6b0f3ac083ba51 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 17 Jun 2014 09:40:03 -0400 Subject: * lisp/delsel.el (electric-newline-and-maybe-indent): Mark it as well. Fixes: debbugs:17737 --- lisp/delsel.el | 1 + 1 file changed, 1 insertion(+) (limited to 'lisp/delsel.el') diff --git a/lisp/delsel.el b/lisp/delsel.el index ab71e60644..1ada02705f 100644 --- a/lisp/delsel.el +++ b/lisp/delsel.el @@ -188,6 +188,7 @@ See `delete-selection-helper'." (put 'reindent-then-newline-and-indent 'delete-selection t) (put 'newline-and-indent 'delete-selection t) (put 'newline 'delete-selection t) +(put 'electric-newline-and-maybe-indent 'delete-selection t) (put 'open-line 'delete-selection 'kill) ;; This is very useful for canceling a selection in the minibuffer without -- cgit v1.2.3