aboutsummaryrefslogtreecommitdiff
path: root/evil-commands.el
diff options
context:
space:
mode:
authorEvan Carlin <evan@radiasoft.net>2021-11-16 14:02:17 -0700
committerGitHub <noreply@github.com>2021-11-16 22:02:17 +0100
commitc28e42126c4ae349e2d77c80b38feb68bc1b5b78 (patch)
treeff26710926b41bb09442a6eeb3336be86b0e6e60 /evil-commands.el
parent13ae79b31411a8ee1c0aa1f4288d373cea8f4a86 (diff)
Fix #1538: prefer vim behavior of opening in same window (#1540)
Diffstat (limited to 'evil-commands.el')
-rw-r--r--evil-commands.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/evil-commands.el b/evil-commands.el
index c910135..6e99996 100644
--- a/evil-commands.el
+++ b/evil-commands.el
@@ -3483,7 +3483,7 @@ If FORCE is non-nil and MARKS is blank, all local marks except 0-9 are removed."
(and (re-search-backward ":\\([0-9]+\\)\\="
(line-beginning-position) t)
(string-to-number (match-string 1))))))
- (with-no-warnings (ffap-other-window fname))
+ (with-no-warnings (find-file-at-point fname))
(when line
(goto-char (point-min))
(forward-line (1- line))))