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

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

[elpa] externals/ergoemacs-mode 7145e87 174/325: Fix ergoemacs-move-curs


From: Stefan Monnier
Subject: [elpa] externals/ergoemacs-mode 7145e87 174/325: Fix ergoemacs-move-cursor-previous-pane and ergoemacs-cut-line-or-region
Date: Sat, 23 Oct 2021 18:48:46 -0400 (EDT)

branch: externals/ergoemacs-mode
commit 7145e87b5ee79e44ad0e72818301b2c9ec9eb297
Author: Walter Landry <wlandry@caltech.edu>
Commit: Walter Landry <wlandry@caltech.edu>

    Fix ergoemacs-move-cursor-previous-pane and ergoemacs-cut-line-or-region
---
 ergoemacs-functions.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ergoemacs-functions.el b/ergoemacs-functions.el
index bdc6cb4..94b8bfa 100644
--- a/ergoemacs-functions.el
+++ b/ergoemacs-functions.el
@@ -451,7 +451,7 @@ The ARG is passed to the respective function for any 
prefixes."
     (cua-cut-region arg)
     (deactivate-mark))
    ((region-active-p) ;; In case something else is bound to C-w.
-    (kill-region)
+    (call-interactively 'kill-region)
     (deactivate-mark))
    (t
     (ignore-errors
@@ -1118,7 +1118,7 @@ If there's no text, delete the previous line ending."
   "Move cursor to the previous pane."
   (interactive "p")
   (setq current-prefix-arg (if number (- 0 number) -1))
-  (other-window))
+  (call-interactively 'other-window))
 
 (defun ergoemacs-unfill-paragraph ()
   "Replace newline char in current paragraph by space.



reply via email to

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