summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-06-02 16:04:38 +0300
committerEli Zaretskii <eliz@gnu.org>2022-06-02 16:04:38 +0300
commit284851265423e875d6de963922f3deb536aa2882 (patch)
tree70753a595c422577d3f7a1519a829f4a7a207e6a /lisp/files.el
parent672f9f787fb34919b35d6fdb30f56083b8b7fb79 (diff)
downloademacs-284851265423e875d6de963922f3deb536aa2882.tar.gz
emacs-284851265423e875d6de963922f3deb536aa2882.tar.bz2
emacs-284851265423e875d6de963922f3deb536aa2882.zip
; * lisp/files.el (find-file): Avoid too short lines in doc string.
Diffstat (limited to 'lisp/files.el')
-rw-r--r--lisp/files.el17
1 files changed, 8 insertions, 9 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 5e9dce555ff..292c05b58e4 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -1706,19 +1706,18 @@ rather than FUN itself, to `minibuffer-setup-hook'."
(defun find-file (filename &optional wildcards)
"Edit file FILENAME.
-\\<minibuffer-local-map>Switch to a buffer visiting file FILENAME,
-creating one if none already exists.
+\\<minibuffer-local-map>Switch to a buffer visiting file FILENAME, creating one if none
+already exists.
Interactively, the default if you just type RET is the current directory,
but the visited file name is available through the minibuffer history:
type \\[next-history-element] to pull it into the minibuffer.
-The first time \\[next-history-element] is used after Emacs prompts for
-the file name, the result is affected by `file-name-at-point-functions',
-which by default try to guess the file name by looking at point in the
-current buffer. Customize the value of `file-name-at-point-functions'
-or set it to nil, if you want only the visited file name and the
-current directory to be available on first \\[next-history-element]
-request.
+The first time \\[next-history-element] is used after Emacs prompts for the file name,
+the result is affected by `file-name-at-point-functions', which by
+default try to guess the file name by looking at point in the current
+buffer. Customize the value of `file-name-at-point-functions' or set
+it to nil, if you want only the visited file name and the current
+directory to be available on first \\[next-history-element] request.
You can visit files on remote machines by specifying something
like /ssh:SOME_REMOTE_MACHINE:FILE for the file name. You can