summaryrefslogtreecommitdiff
path: root/helm-regexp.el
diff options
context:
space:
mode:
Diffstat (limited to 'helm-regexp.el')
-rw-r--r--helm-regexp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/helm-regexp.el b/helm-regexp.el
index f0251b33..8530c455 100644
--- a/helm-regexp.el
+++ b/helm-regexp.el
@@ -287,7 +287,7 @@ arg METHOD can be one of buffer, buffer-other-window, buffer-other-frame."
(split-pat (helm-mm-split-pattern helm-input)))
(cl-case method
(buffer (switch-to-buffer buf))
- (buffer-other-window (helm-display-buffers-other-windows buf))
+ (buffer-other-window (helm-buffer-switch-buffers-other-window buf))
(buffer-other-frame (switch-to-buffer-other-frame buf)))
(with-current-buffer buf
(helm-goto-line lineno)