# HG changeset patch # User Kim F. Storm # Date 1022537189 0 # Node ID ce01a38706ee9dd85e314fdee5b7bf0b0578a00c # Parent 6b37dbf4d2a5d5707578958c42c47881c7bcb077 (Fcall_interactively) <"D">: Supply Qfile_directory_p predicate for Fread_file_name when reading directory name. Supply Qnil for predicate in other calls to Fread_file_name. diff -r 6b37dbf4d2a5 -r ce01a38706ee src/callint.c --- a/src/callint.c Mon May 27 22:05:51 2002 +0000 +++ b/src/callint.c Mon May 27 22:06:29 2002 +0000 @@ -34,6 +34,7 @@ #endif extern Lisp_Object Qcursor_in_echo_area; +extern Lisp_Object Qfile_directory_p; Lisp_Object Vcurrent_prefix_arg, Qminus, Qplus; Lisp_Object Qcall_interactively; @@ -520,17 +521,18 @@ case 'D': /* Directory name. */ args[i] = Fread_file_name (build_string (callint_message), Qnil, - current_buffer->directory, Qlambda, Qnil); + current_buffer->directory, Qlambda, Qnil, + Qfile_directory_p); break; case 'f': /* Existing file name. */ args[i] = Fread_file_name (build_string (callint_message), - Qnil, Qnil, Qlambda, Qnil); + Qnil, Qnil, Qlambda, Qnil, Qnil); break; case 'F': /* Possibly nonexistent file name. */ args[i] = Fread_file_name (build_string (callint_message), - Qnil, Qnil, Qnil, Qnil); + Qnil, Qnil, Qnil, Qnil, Qnil); break; case 'i': /* Ignore an argument -- Does not do I/O */