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
d8f0f8a5
Commit
d8f0f8a5
authored
Oct 20, 2008
by
Eli Zaretskii
Browse files
(Reading File Names): Wording changes from RMS.
parent
a18a6d49
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
14 deletions
+11
-14
doc/lispref/minibuf.texi
doc/lispref/minibuf.texi
+11
-14
No files found.
doc/lispref/minibuf.texi
View file @
d8f0f8a5
...
...
@@ -1276,7 +1276,7 @@ and @code{read-input-method-name}, in @ref{Input Methods}.
@cindex read file names
@cindex prompt for file name
Here is a couple of other high-level completion function, designed
Here is a couple of other high-level completion function
s
, designed
for reading file names and shell commands. They provide special
features including automatic insertion of the default directory.
...
...
@@ -1465,20 +1465,17 @@ The file is @point{}
This function reads a shell command from the minibuffer, prompting
with @var{prompt} and providing intelligent completion. It completes
the first word of the command using candidates that are appropriate
for command names. The rest of the shell command arguments are
completed as file names.
This function works by calling @code{read-from-minibuffer}
(@pxref{Text from Minibuffer}), passing it
@code{minibuffer-local-shell-command-map} as the @var{keymap}
argument. The optional arguments @var{initial-contents} and
@var{hist} are passed to @code{read-from-minibuffer} unaltered, except
that if @var{hist} is omitted or @code{nil}, it defaults to
for command names, and the rest of the command words as file names.
This function uses @code{minibuffer-local-shell-command-map} as the
keymap for minibuffer input. The @var{hist} argument specifies the
history list to use; if is omitted or @code{nil}, it defaults to
@code{shell-command-history} (@pxref{Minibuffer History,
shell-command-history}), and the @var{read} argument is passed as
@code{nil}. The rest of @var{args}, if present, are used by
@code{read-from-minibuffer} as its @var{default} and
@var{inherit-input-method} arguments.
shell-command-history}). The optional argument @var{initial-contents}
specifies the initial content of the minibuffer (@pxref{Initial
Input}). The rest of @var{args}, if present, are used as the
@var{default} and @var{inherit-input-method} arguments in
@code{read-from-minibuffer} (@pxref{Text from Minibuffer}).
@end defun
@defvar minibuffer-local-shell-command-map
...
...
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