summaryrefslogtreecommitdiff
path: root/helm-grep.el
diff options
context:
space:
mode:
authorPierre Neidhardt <ambrevar@gmail.com>2017-10-02 10:18:06 +0100
committerPierre Neidhardt <ambrevar@gmail.com>2017-10-02 10:18:06 +0100
commit7b852880cf05f10851cb2df24397d04bcf1471ae (patch)
treeb4e1ea27f8d34d098a4e6ff6db7d42c0de881e50 /helm-grep.el
parent6f20c49b27efc9ed85ccf867a67d28463c05be9d (diff)
Refector some window- and buffer-related functions
Diffstat (limited to 'helm-grep.el')
-rw-r--r--helm-grep.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/helm-grep.el b/helm-grep.el
index c2552916..2e7b95c3 100644
--- a/helm-grep.el
+++ b/helm-grep.el
@@ -605,7 +605,7 @@ WHERE can be one of other-window, other-frame."
(fname (if tramp-host
(concat tramp-prefix loc-fname) loc-fname)))
(cl-case where
- (other-window (helm-switch-to-buffer-other-window
+ (other-window (helm-window-other-window
(find-file-noselect fname)))
(other-frame (find-file-other-frame fname))
(grep (helm-grep-save-results-1))