emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 8c6a502: Fix typo in `find-alternate-file'


From: Michael Albinus
Subject: [Emacs-diffs] master 8c6a502: Fix typo in `find-alternate-file'
Date: Tue, 24 Jul 2018 04:16:32 -0400 (EDT)

branch: master
commit 8c6a50230eda7a0773dcf0e6530d064e28df357c
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>

    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 eabb3c0..468650d 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



reply via email to

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