From: Michael Albinus Date: Tue, 24 Jul 2018 08:16:22 +0000 (+0200) Subject: Fix typo in `find-alternate-file' X-Git-Tag: emacs-27.0.90~4664^2~34 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8c6a50230eda7a0773dcf0e6530d064e28df357c;p=emacs.git Fix typo in `find-alternate-file' * lisp/files.el (find-alternate-file): Add missing arguments to `find-file-noselect' call. --- 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