]> code.delx.au - gnu-emacs/commitdiff
(Finteractive): Document G option.
authorRichard M. Stallman <rms@gnu.org>
Thu, 17 Mar 2005 23:33:07 +0000 (23:33 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 17 Mar 2005 23:33:07 +0000 (23:33 +0000)
(Fcall_interactively): Implement G option.

src/callint.c

index 933601f67d01880c2c73ef32a5a90de00e60a49a..dea776e0f1ca7dbf3710cfade9d60efef1d5a95d 100644 (file)
@@ -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;