|
From: | Dmitry Gutov |
Subject: | bug#49204: 28.0.50; How to create new file in project by project-find-file |
Date: | Tue, 20 Jul 2021 05:15:59 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 19.07.2021 18:20, Juri Linkov wrote:
The same way as switch-to-buffer confirms a non-existent buffer with: C-x b non-existent TAB RET [Confirm]
switch-to-buffer uses read-buffer-to-switch, which delegates to read-buffer, a standard function.
read-file-name uses, say, read-file-name-default. Neither delegate to a user-provided completion table, though. So we might have to reimplement the check-and-prompt interface.
Would someone like to propose a patch?
[Prev in Thread] | Current Thread | [Next in Thread] |