diff options
| -rw-r--r-- | evil-ex.el | 12 | ||||
| -rw-r--r-- | evil-search.el | 10 |
2 files changed, 11 insertions, 11 deletions
@@ -226,12 +226,12 @@ Otherwise behaves like `delete-backward-char'." "Start command window with ex history and current minibuffer content." (interactive) (let ((current (minibuffer-contents)) - (config (current-window-configuration))) - (evil-ex-teardown) - (select-window (minibuffer-selected-window) t) - (evil-command-window (cons current evil-ex-history) - ":" - (apply-partially 'evil-ex-command-window-execute config)))) + (config (current-window-configuration))) + (evil-ex-teardown) + (select-window (minibuffer-selected-window) t) + (evil-command-window (cons current evil-ex-history) + ":" + (apply-partially 'evil-ex-command-window-execute config)))) (defun evil-ex-command-window-execute (config result) (select-window (active-minibuffer-window) t) diff --git a/evil-search.el b/evil-search.el index b25563f..1989cab 100644 --- a/evil-search.el +++ b/evil-search.el @@ -1047,11 +1047,11 @@ any error conditions." "Start command window with search history and current minibuffer content." (interactive) (let ((current (minibuffer-contents)) - (config (current-window-configuration))) - (select-window (minibuffer-selected-window) t) - (evil-command-window (cons current evil-ex-search-history) - (evil-search-prompt (eq evil-ex-search-direction 'forward)) - (apply-partially 'evil-ex-command-window-execute config)))) + (config (current-window-configuration))) + (select-window (minibuffer-selected-window) t) + (evil-command-window (cons current evil-ex-search-history) + (evil-search-prompt (eq evil-ex-search-direction 'forward)) + (apply-partially 'evil-ex-command-window-execute config)))) (defun evil-ex-search-goto-offset (offset) "Move point according to search OFFSET and set `evil-this-type' accordingly. |
