[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ergoemacs-mode 7ba903e4 04/87: Don't grow mouse command
From: |
Stefan Monnier |
Subject: |
[elpa] externals/ergoemacs-mode 7ba903e4 04/87: Don't grow mouse commands & set this-command before command is called |
Date: |
Wed, 14 Apr 2021 18:46:56 -0400 (EDT) |
branch: externals/ergoemacs-mode
commit 7ba903e479402bdee44092647a879e023165058a
Author: Fidler <matthew.fidler@gmail.com>
Commit: Fidler <matthew.fidler@gmail.com>
Don't grow mouse commands & set this-command before command is called
---
ergoemacs-command-loop.el | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/ergoemacs-command-loop.el b/ergoemacs-command-loop.el
index da97145..caa886a 100644
--- a/ergoemacs-command-loop.el
+++ b/ergoemacs-command-loop.el
@@ -1339,10 +1339,10 @@ FN-ARG-P can be nil, :drop-rest or :rest"
`(interactive))
,(when select-window-p
'(select-window (posn-window (event-start last-command-event))))
+ (ergoemacs-command-loop--execute-modify-command-list ',command)
(if ,rest-p
(apply ',command last-command-event ,@strip-args)
- (,command last-command-event ,@drop-rest))
- (ergoemacs-command-loop--execute-modify-command-list ',command)))
+ (,command last-command-event ,@drop-rest))))
((not rest-p)
`(lambda ,fn-args
@@ -1351,8 +1351,8 @@ FN-ARG-P can be nil, :drop-rest or :rest"
`(interactive))
,(when select-window-p
'(select-window (posn-window (event-start last-command-event))))
- (,command last-command-event ,@strip-args)
- (ergoemacs-command-loop--execute-modify-command-list ',command))))))
+ (ergoemacs-command-loop--execute-modify-command-list ',command)
+ (,command last-command-event ,@strip-args))))))
(defun ergoemacs-command-loop--call-mouse-command (command &optional
record-flag keys)
"Call a possible mouse COMMAND.
@@ -1373,7 +1373,7 @@ The RECORD-FLAG and KEYS arguments are passed to
(popup-menu command nil current-prefix-arg))
(t
(ignore-errors
- (ergoemacs-command-loop--grow-interactive
(ergoemacs-command-loop--modify-mouse-command command) record-flag keys)))))
+ (call-interactively (ergoemacs-command-loop--modify-mouse-command
command) record-flag keys)))))
(defvar ergoemacs-command-loop-describe-key-functions
'(describe-key describe-function)
- [elpa] externals/ergoemacs-mode updated (5450f4d -> f9d6e3f), Stefan Monnier, 2021/04/14
- [elpa] externals/ergoemacs-mode 7ba903e4 04/87: Don't grow mouse commands & set this-command before command is called,
Stefan Monnier <=
- [elpa] externals/ergoemacs-mode bcaf49b 03/87: Don't allow infinite recursion on mapkeymap., Stefan Monnier, 2021/04/14
- [elpa] externals/ergoemacs-mode f12edbb 02/87: Maybe Fix issue #426, Stefan Monnier, 2021/04/14
- [elpa] externals/ergoemacs-mode f10eecc 01/87: Fix overriding keymap. Needs to be expanded., Stefan Monnier, 2021/04/14
- [elpa] externals/ergoemacs-mode 27f60cc 11/87: Will eat commands for self insert like <apps> e t, Stefan Monnier, 2021/04/14
- [elpa] externals/ergoemacs-mode b3df015 17/87: Make sure changing local variables doesn't affect save state, Stefan Monnier, 2021/04/14
- [elpa] externals/ergoemacs-mode a1dd7a7 09/87: Eat command prefixes that were intercepted by the timer, Stefan Monnier, 2021/04/14
- [elpa] externals/ergoemacs-mode f7a68f6 29/87: Add back Ctrl+Shift+c and Ctrl+Shift+x., Stefan Monnier, 2021/04/14
- [elpa] externals/ergoemacs-mode 59cb758 08/87: Change to an idle timer for more stability, Stefan Monnier, 2021/04/14
- [elpa] externals/ergoemacs-mode 07ef724 22/87: Change ergoemacs-override-keymap key bindings., Stefan Monnier, 2021/04/14
- [elpa] externals/ergoemacs-mode a75a338 07/87: Add ergoemacs start prefix correctly, Stefan Monnier, 2021/04/14