From 8c6a50230eda7a0773dcf0e6530d064e28df357c Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Tue, 24 Jul 2018 10:16:22 +0200 Subject: [PATCH] Fix typo in `find-alternate-file' * lisp/files.el (find-alternate-file): Add missing arguments to `find-file-noselect' call. --- lisp/files.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/files.el b/lisp/files.el index eabb3c0e06c..468650db8ab 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -1830,7 +1830,7 @@ killed." ;; Don't use `find-file' because it may end up using another window ;; in some corner cases, e.g. when the selected window is ;; softly-dedicated. - (let ((newbuf (find-file-noselect filename wildcards))) + (let ((newbuf (find-file-noselect filename nil nil wildcards))) (switch-to-buffer newbuf))) (when (eq obuf (current-buffer)) ;; This executes if find-file gets an error -- 2.39.2