branch: externals/ergoemacs-mode
commit 7145e87b5ee79e44ad0e72818301b2c9ec9eb297
Author: Walter Landry <[email protected]>
Commit: Walter Landry <[email protected]>
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.