From 3866b7dcfe5ce1b19b4a14e1aef8c40c16ea4e39 Mon Sep 17 00:00:00 2001 From: Yiming Chen Date: Tue, 3 Mar 2020 19:13:00 +0800 Subject: fix `wrong number of argument error` in evil-ex-command-window - evil-ex-command-window only accepts 0 arguments - and it doesn't make sense to call itself recursively - this issue was introduced in [1: 48ceb43] 1: 48ceb43f8a1e95e6d7eafe428ff640d83952462f Clean up compilation warnings from lexical binding --- evil-command-window.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evil-command-window.el b/evil-command-window.el index 91cc5b6..e70469e 100644 --- a/evil-command-window.el +++ b/evil-command-window.el @@ -87,7 +87,7 @@ it will be used as the function to execute instead of (config (current-window-configuration))) (evil-ex-teardown) (select-window (minibuffer-selected-window) t) - (evil-ex-command-window current (apply-partially 'evil-ex-command-window-execute config)))) + (evil-command-window-ex current (apply-partially 'evil-ex-command-window-execute config)))) (defun evil-ex-search-command-window () "Start command window with search history and current minibuffer content." -- cgit v1.0