1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-06-10 05:50:42 +00:00

Fix filename completion after prompt adaptation.

This commit is contained in:
Renaud 2021-07-24 13:57:51 +08:00
parent 1aadb53956
commit ba1bfcd0db

View File

@ -520,7 +520,7 @@ int getstring( const char *prompt, char *buf, int nbuf, int eolchar)
static char tmp[] = "/tmp/meXXXXXX";
FILE *tmpf = NULL;
#endif
/* Look for "Find file: ", "View file: ", "Insert file: ", "Write file: ",
/* Look for "find-file: ", "View file: ", "Insert file: ", "Write file: ",
** "Read file: ", "Execute file: " */
file_f = NULL != strstr( prompt, "file: ") ;
#endif