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

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

[elpa] externals/ergoemacs-mode 9a5b97f 57/87: Removed commented out cod


From: Stefan Monnier
Subject: [elpa] externals/ergoemacs-mode 9a5b97f 57/87: Removed commented out code
Date: Wed, 14 Apr 2021 18:47:07 -0400 (EDT)

branch: externals/ergoemacs-mode
commit 9a5b97f6b77404a0a24550a37cf1d349469bb6d4
Author: Sławomir Wójcik <valdaer@gmail.com>
Commit: Sławomir Wójcik <valdaer@gmail.com>

    Removed commented out code
---
 ergoemacs-functions.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/ergoemacs-functions.el b/ergoemacs-functions.el
index a275253..62669c9 100644
--- a/ergoemacs-functions.el
+++ b/ergoemacs-functions.el
@@ -404,7 +404,7 @@ If `narrow-to-region' is in effect, then cut that region 
only."
   :type 'boolean
   :group 'ergoemacs-mode)
 
-(defun ergoemacs--keep-active ()
+(defun ergoemacs--keep-mark-active ()
   (when (mark t)
     (setq mark-active t
           deactivate-mark nil)))
@@ -439,10 +439,8 @@ Pass prefix ARG to the respective copy functions."
            (call-interactively 'move-end-of-line)))
        (re-search-forward "\\=\n" nil t) ;; Include newline
        (point)))))
-  ;; (unless ergoemacs-keep-region-after-copy
-  ;;  (deactivate-mark)))
   (if ergoemacs-keep-region-after-copy
-      (ergoemacs--keep-active)
+      (ergoemacs--keep-mark-active)
     (deactivate-mark)))
 
 (defun ergoemacs-cut-line-or-region (&optional arg)



reply via email to

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