* (nnheader-find-file-noselect): Call
authoryamaoka <yamaoka>
Thu, 10 Dec 1998 22:27:18 +0000 (22:27 +0000)
committeryamaoka <yamaoka>
Thu, 10 Dec 1998 22:27:18 +0000 (22:27 +0000)
`find-file-noselect-as-specified-coding-system' directly.

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."