changeset 17988:2e732d9d5b79

(dired-find-file): Likewise.
author Kenichi Handa <handa@m17n.org>
date Wed, 28 May 1997 03:35:42 +0000
parents 2d9818a04c36
children 8a264cfe3768
files lisp/dired.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired.el	Wed May 28 03:35:36 1997 +0000
+++ b/lisp/dired.el	Wed May 28 03:35:42 1997 +0000
@@ -1220,12 +1220,12 @@
 
 ;; 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)