summaryrefslogtreecommitdiff
path: root/src/callint.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2005-03-17 23:33:07 +0000
committerRichard M. Stallman <rms@gnu.org>2005-03-17 23:33:07 +0000
commit75f9fbe87ecb9acefb29258bf0887b05dced69f0 (patch)
tree21356806c3ef1c71a21aad21e0462db9a9b5d420 /src/callint.c
parentd69ea7ab79eaad4fa769670b63d6af9dd3a8ca44 (diff)
downloademacs-75f9fbe87ecb9acefb29258bf0887b05dced69f0.tar.gz
(Finteractive): Document G option.
(Fcall_interactively): Implement G option.
Diffstat (limited to 'src/callint.c')
-rw-r--r--src/callint.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/callint.c b/src/callint.c
index 933601f67d0..dea776e0f1c 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -98,6 +98,7 @@ e -- Parametrized event (i.e., one that's a list) that invoked this command.
This skips events that are integers or symbols.
f -- Existing file name.
F -- Possibly nonexistent file name.
+G -- Possibly nonexistent file name, defaulting to just directory name.
i -- Ignored, i.e. always nil. Does not do I/O.
k -- Key sequence (downcase the last event if needed to get a definition).
K -- Key sequence to be redefined (do not downcase the last event).
@@ -605,6 +606,12 @@ If KEYS is omitted or nil, the return value of `this-command-keys' is used. */)
Qnil, Qnil, Qnil, Qnil, Qnil);
break;
+ case 'G': /* Possibly nonexistent file name,
+ default to directory alone. */
+ args[i] = Fread_file_name (build_string (callint_message),
+ Qnil, Qnil, Qnil, build_string (""), Qnil);
+ break;
+
case 'i': /* Ignore an argument -- Does not do I/O */
varies[i] = -1;
break;