# HG changeset patch # User Richard M. Stallman # Date 1111102387 0 # Node ID 046708b92d493f3210bed3623c7cb0b32e692955 # Parent 6f59f107ebf7bc0fbffd70a48b016329f23a4e5e (Finteractive): Document G option. (Fcall_interactively): Implement G option. diff -r 6f59f107ebf7 -r 046708b92d49 src/callint.c --- a/src/callint.c Thu Mar 17 23:30:49 2005 +0000 +++ b/src/callint.c Thu Mar 17 23:33:07 2005 +0000 @@ -98,6 +98,7 @@ 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 @@ 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;