* lisp/delsel.el (electric-newline-and-maybe-indent): Mark it as well.

Fixes: debbugs:17737
This commit is contained in:
Stefan Monnier 2014-06-17 09:40:03 -04:00
parent c89f1288cb
commit c18add241d
2 changed files with 6 additions and 0 deletions

View 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

View 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