* (nnheader-find-file-noselect): Call
[elisp/gnus.git-] / lisp / nnheader.el
index 19e3f6f..b0b6f70 100644 (file)
@@ -783,10 +783,10 @@ find-file-hooks, etc.
        (auto-mode-alist (nnheader-auto-mode-alist))
        (default-major-mode 'fundamental-mode)
        (enable-local-variables nil)
-        (after-insert-file-functions nil)
+       (after-insert-file-functions nil)
        (find-file-hooks nil))
-    (apply 'find-file-noselect-as-specified-coding-system
-          (append args (list nnheader-file-coding-system)))))
+    (find-file-noselect-as-specified-coding-system
+     (car args) (append (cdr args) (list nnheader-file-coding-system)))))
 
 (defun nnheader-auto-mode-alist ()
   "Return an `auto-mode-alist' with only the .gz (etc) thingies."