emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/evil c28e421 3/3: Fix #1538: prefer vim behavior of openin


From: ELPA Syncer
Subject: [nongnu] elpa/evil c28e421 3/3: Fix #1538: prefer vim behavior of opening in same window (#1540)
Date: Tue, 16 Nov 2021 16:57:47 -0500 (EST)

branch: elpa/evil
commit c28e42126c4ae349e2d77c80b38feb68bc1b5b78
Author: Evan Carlin <evan@radiasoft.net>
Commit: GitHub <noreply@github.com>

    Fix #1538: prefer vim behavior of opening in same window (#1540)
---
 evil-commands.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]