summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2018-07-24 10:16:22 +0200
committerMichael Albinus <michael.albinus@gmx.de>2018-07-24 10:16:22 +0200
commit8c6a50230eda7a0773dcf0e6530d064e28df357c (patch)
tree2e9fb6098872e00f20a91ee441fb9bbfe31dc334 /lisp/files.el
parent90256285e107641b064d6ec51a9c5bb03c3eee6a (diff)
downloademacs-8c6a50230eda7a0773dcf0e6530d064e28df357c.tar.gz
Fix typo in `find-alternate-file'
* lisp/files.el (find-alternate-file): Add missing arguments to `find-file-noselect' call.
Diffstat (limited to 'lisp/files.el')
-rw-r--r--lisp/files.el2
1 files changed, 1 insertions, 1 deletions
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