summaryrefslogtreecommitdiff
path: root/lisp/delsel.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2014-06-17 09:40:03 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2014-06-17 09:40:03 -0400
commitc18add241de89fc7c92200ffcd6b0f3ac083ba51 (patch)
tree69c2ab17470463c3e4e5da9d52b1df2b4a5ab357 /lisp/delsel.el
parentc89f1288cb02c529afaa184069b94ec820f640e9 (diff)
* lisp/delsel.el (electric-newline-and-maybe-indent): Mark it as well.
Fixes: debbugs:17737
Diffstat (limited to 'lisp/delsel.el')
-rw-r--r--lisp/delsel.el1
1 files changed, 1 insertions, 0 deletions
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