Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
0f063651
Commit
0f063651
authored
Nov 02, 2009
by
Chong Yidong
Browse files
* minibuf.texi (Reading File Names): Note that read-file-name may
use a graphical file dialog.
parent
8368c14e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
3 deletions
+18
-3
doc/lispref/ChangeLog
doc/lispref/ChangeLog
+5
-0
doc/lispref/minibuf.texi
doc/lispref/minibuf.texi
+13
-3
No files found.
doc/lispref/ChangeLog
View file @
0f063651
2009-11-02 Chong Yidong <cyd@stupidchicken.com>
* minibuf.texi (Reading File Names): Note that read-file-name may
use a graphical file dialog.
2009-10-31 Glenn Morris <rgm@gnu.org>
* nonascii.texi (User-Chosen Coding Systems): Minor reword. (Bug#4817)
...
...
doc/lispref/minibuf.texi
View file @
0f063651
...
...
@@ -1337,8 +1337,19 @@ They provide special features, including automatic insertion of the
default directory.
@defun read-file-name prompt &optional directory default require-match initial predicate
This function reads a file name in the minibuffer, prompting with
@var{prompt} and providing completion.
This function reads a file name, prompting with @var{prompt} and
providing completion.
As an exception, this function reads a file name using a graphical
file dialog instead of the minibuffer, if (i) it is invoked via a
mouse command, and (ii) the selected frame is on a graphical display
supporting such dialogs, and (iii) the variable @code{use-dialog-box}
is non-@code{nil} (@pxref{Dialog Boxes,, Dialog Boxes, emacs, The GNU
Emacs Manual}), and (iv) the @var{directory} argument, described
below, does not specify a remote file (@pxref{Remote Files,, Remote
Files, emacs, The GNU Emacs Manual}). The exact behavior when using a
graphical file dialog is platform-dependent. Here, we simply document
the behavior when using the minibuffer.
The optional argument @var{require-match} has the same meaning as in
@code{completing-read}. @xref{Minibuffer Completion}.
...
...
@@ -1355,7 +1366,6 @@ name. If @code{insert-default-directory} is non-@code{nil},
@var{directory} is also inserted in the minibuffer as initial input.
It defaults to the current buffer's value of @code{default-directory}.
@c Emacs 19 feature
If you specify @var{initial}, that is an initial file name to insert
in the buffer (after @var{directory}, if that is inserted). In this
case, point goes at the beginning of @var{initial}. The default for
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment