]> git.eshelyaron.com Git - emacs.git/commitdiff
(dired-find-file): Likewise.
authorKenichi Handa <handa@m17n.org>
Wed, 28 May 1997 03:35:42 +0000 (03:35 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 28 May 1997 03:35:42 +0000 (03:35 +0000)
lisp/dired.el

index 9b0891ad2628406fdef64f3e12b334b3abd4c951..ba4bb800b41f943a6f9f0594cf5305212b3dbc11 100644 (file)
@@ -1220,12 +1220,12 @@ Creates a buffer if necessary."
 
 ;; Force `f' rather than `e' in the mode doc:
 (defalias 'dired-advertised-find-file 'dired-find-file)
-(defun dired-find-file (&optional coding-system)
+(defun dired-find-file ()
   "In dired, visit the file or directory named on this line."
-  (interactive "ZCoding-system: ")
+  (interactive)
   (let ((file-name (file-name-sans-versions (dired-get-filename) t)))
     (if (file-exists-p file-name)
-       (find-file file-name coding-system)
+       (find-file file-name)
       (error "File no longer exists; type `g' to update Dired buffer"))))
 
 (defun dired-mouse-find-file-other-window (event)