|
From: | Juri Linkov |
Subject: | Re: [Patch] Add project.el command to replace symbol at point throughout project |
Date: | Mon, 17 Jan 2022 10:17:34 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
> + (read-string > + prompt > + nil nil > + (if read-regexp-defaults-function > + (funcall read-regexp-defaults-function) > + (query-replace-read-from-suggestions)) Isn't it too strange that read-string uses the read-regexp function? Maybe better to add a new variable read-string-defaults-function. Then it could provide an option to use 'car' of query-replace-read-from-suggestions, and allow a custom function.
[Prev in Thread] | Current Thread | [Next in Thread] |