Function: menu-find-file-existing
menu-find-file-existing is an interactive and byte-compiled function
defined in menu-bar.el.gz.
Signature
(menu-find-file-existing)
Documentation
Edit the existing file FILENAME.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/menu-bar.el.gz
(defun menu-find-file-existing ()
"Edit the existing file FILENAME."
(interactive)
(let* ((mustmatch (not (and (fboundp 'x-uses-old-gtk-dialog)
(x-uses-old-gtk-dialog))))
(filename (car (find-file-read-args "Find file: " mustmatch))))
(if mustmatch
(find-file-existing filename)
(with-suppressed-warnings ((interactive-only find-file))
(find-file filename)))))