[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41633: Prompts incorrect for multi-occur and multi-isearch when usin
From: |
Lars Ingebrigtsen |
Subject: |
bug#41633: Prompts incorrect for multi-occur and multi-isearch when using fido-mode |
Date: |
Mon, 05 Oct 2020 08:36:07 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Juri Linkov <juri@linkov.net> writes:
> I confirm it doesn't work with ido-everywhere.
> Maybe this is a better condition?
>
> diff --git a/lisp/replace.el b/lisp/replace.el
> index 4883ecfc8f..b717a2a25c 100644
> --- a/lisp/replace.el
> +++ b/lisp/replace.el
> @@ -1588,7 +1588,7 @@ multi-occur--prompt
> (concat
> "Next buffer to search "
> (cond
> - ((eq read-buffer-function #'ido-read-buffer)
> + ((bound-and-true-p ido-everywhere)
Makes sense, I think -- I think pretty much the only way to have ido
enabled in these two functions is to have ido-anywhere enabled? On the
other hand, perhaps somebody bound read-buffer-function "manually" here,
so perhaps something like
(or (eq read-buffer-function #'ido-read-buffer)
(bound-and-true-p ido-everywhere))
would be slightly more correct?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no