mlf176f2 pushed a commit to branch externals/ergoemacs-mode in repository elpa.
commit e6442507f6f9498debbc1d06b7857285a0b4bdd3 Author: Matthew L. Fidler <[email protected]> Date: Mon Jun 30 09:42:38 2014 -0500 Make sure to include the ending new-line when copying an empty line --- ergoemacs-functions.el | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ergoemacs-functions.el b/ergoemacs-functions.el index 7b225c7..d4125ce 100644 --- a/ergoemacs-functions.el +++ b/ergoemacs-functions.el @@ -327,6 +327,7 @@ If `narrow-to-region' is in effect, then cut that region only." (save-excursion (ergoemacs-shortcut-remap 'move-end-of-line) (call-interactively 'move-end-of-line) + (re-search-forward "\\=\n" nil t) ;; Include newline (point))))) (deactivate-mark))
