]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix typo in `find-alternate-file'
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 24 Jul 2018 08:16:22 +0000 (10:16 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 24 Jul 2018 08:16:22 +0000 (10:16 +0200)
* lisp/files.el (find-alternate-file): Add missing arguments to
`find-file-noselect' call.

lisp/files.el

index eabb3c0e06c57238b2c866f1b6b0881a844cbd14..468650db8ab04eea71bcecccbfe191f16cd75faa 100644 (file)
@@ -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