aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2018-07-24 10:16:22 +0200
committerMichael Albinus2018-07-24 10:16:22 +0200
commit8c6a50230eda7a0773dcf0e6530d064e28df357c (patch)
tree2e9fb6098872e00f20a91ee441fb9bbfe31dc334
parent90256285e107641b064d6ec51a9c5bb03c3eee6a (diff)
downloademacs-8c6a50230eda7a0773dcf0e6530d064e28df357c.tar.gz
emacs-8c6a50230eda7a0773dcf0e6530d064e28df357c.zip
Fix typo in `find-alternate-file'
* lisp/files.el (find-alternate-file): Add missing arguments to `find-file-noselect' call.
-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."
1830 ;; Don't use `find-file' because it may end up using another window 1830 ;; Don't use `find-file' because it may end up using another window
1831 ;; in some corner cases, e.g. when the selected window is 1831 ;; in some corner cases, e.g. when the selected window is
1832 ;; softly-dedicated. 1832 ;; softly-dedicated.
1833 (let ((newbuf (find-file-noselect filename wildcards))) 1833 (let ((newbuf (find-file-noselect filename nil nil wildcards)))
1834 (switch-to-buffer newbuf))) 1834 (switch-to-buffer newbuf)))
1835 (when (eq obuf (current-buffer)) 1835 (when (eq obuf (current-buffer))
1836 ;; This executes if find-file gets an error 1836 ;; This executes if find-file gets an error