; * lisp/files.el (find-file): Avoid too short lines in doc string.

This commit is contained in:
Eli Zaretskii 2022-06-02 16:04:38 +03:00
parent 672f9f787f
commit 2848512654

View file

@ -1706,19 +1706,18 @@ rather than FUN itself, to `minibuffer-setup-hook'."
(defun find-file (filename &optional wildcards) (defun find-file (filename &optional wildcards)
"Edit file FILENAME. "Edit file FILENAME.
\\<minibuffer-local-map>Switch to a buffer visiting file FILENAME, \\<minibuffer-local-map>Switch to a buffer visiting file FILENAME, creating one if none
creating one if none already exists. already exists.
Interactively, the default if you just type RET is the current directory, Interactively, the default if you just type RET is the current directory,
but the visited file name is available through the minibuffer history: but the visited file name is available through the minibuffer history:
type \\[next-history-element] to pull it into the minibuffer. type \\[next-history-element] to pull it into the minibuffer.
The first time \\[next-history-element] is used after Emacs prompts for The first time \\[next-history-element] is used after Emacs prompts for the file name,
the file name, the result is affected by `file-name-at-point-functions', the result is affected by `file-name-at-point-functions', which by
which by default try to guess the file name by looking at point in the default try to guess the file name by looking at point in the current
current buffer. Customize the value of `file-name-at-point-functions' buffer. Customize the value of `file-name-at-point-functions' or set
or set it to nil, if you want only the visited file name and the it to nil, if you want only the visited file name and the current
current directory to be available on first \\[next-history-element] directory to be available on first \\[next-history-element] request.
request.
You can visit files on remote machines by specifying something You can visit files on remote machines by specifying something
like /ssh:SOME_REMOTE_MACHINE:FILE for the file name. You can like /ssh:SOME_REMOTE_MACHINE:FILE for the file name. You can