emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 261/287: Make sure to include the ending new-line when copying an


From: Matthew Fidler
Subject: [elpa] 261/287: Make sure to include the ending new-line when copying an empty line
Date: Wed, 02 Jul 2014 14:46:31 +0000

mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.

commit e6442507f6f9498debbc1d06b7857285a0b4bdd3
Author: Matthew L. Fidler <address@hidden>
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))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]