]> code.delx.au - gnu-emacs/commitdiff
* lisp/delsel.el (electric-newline-and-maybe-indent): Mark it as well.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 17 Jun 2014 13:40:03 +0000 (09:40 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 17 Jun 2014 13:40:03 +0000 (09:40 -0400)
Fixes: debbugs:17737
lisp/ChangeLog
lisp/delsel.el

index 0734216555b72e02f8335f55266e6e4bcdcd138a..2daf277166f525333710a1b4b4e0984b3232048b 100644 (file)
@@ -1,3 +1,8 @@
+2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * delsel.el (electric-newline-and-maybe-indent): Mark it as well
+       (bug#17737).
+
 2014-06-16  Dmitry  <dgutov@yandex.ru>
 
        * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
index ab71e6064441f233541895090fef7d3766364dad..1ada02705fef73f7d013bf5fe533451fc9915d2f 100644 (file)
@@ -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