diff options
| author | Yiming Chen <dsdshcym@gmail.com> | 2020-03-03 19:13:00 +0800 |
|---|---|---|
| committer | Eivind Fonn <evfonn@gmail.com> | 2020-03-03 13:10:20 +0100 |
| commit | 3866b7dcfe5ce1b19b4a14e1aef8c40c16ea4e39 (patch) | |
| tree | 61d6d806056e3ca7eb4af1c138b34307ba0f3faf | |
| parent | a3c3ff00e84c865ac8b5577128b161fb362f5e7e (diff) | |
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
| -rw-r--r-- | evil-command-window.el | 2 |
1 files changed, 1 insertions, 1 deletions
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." |
