diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-09-16 21:09:24 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-09-16 21:12:51 +0200 |
commit | bce5346458809e2791f4cb126498e47c13595c94 (patch) | |
tree | 05aad8c09815a6ad408e42a2c7d4da6461b58197 /helm-grep.el | |
parent | 9686b3544b70e66d0d495192449807002283e1c3 (diff) |
Allow also in grep switching to files vertically
* helm-grep.el (helm-grep-action): Do it.
Diffstat (limited to 'helm-grep.el')
-rw-r--r-- | helm-grep.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/helm-grep.el b/helm-grep.el index 103d438e..c62991c7 100644 --- a/helm-grep.el +++ b/helm-grep.el @@ -601,7 +601,8 @@ 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 (find-file-other-window fname)) + (other-window (helm--switch-to-buffer-other-window + (find-file-noselect fname))) (other-frame (find-file-other-frame fname)) (grep (helm-grep-save-results-1)) (pdf (if helm-pdfgrep-default-read-command |