1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-30 08:09:04 +00:00

Avoid byte-compiler warning during bootstrap

* lisp/isearch.el (multi-isearch-switch-buffer): Avoid
byte-compiler warning.
This commit is contained in:
Eli Zaretskii 2021-05-21 13:37:48 +03:00
parent 92464bd9b7
commit fe8c1e7b1a

View File

@ -3462,6 +3462,10 @@ Can be changed via `isearch-search-fun-function' for special needs."
(if isearch-forward #'re-search-forward #'re-search-backward)
regexp bound noerror count))))
;; This is for when we compile this file during bootstrap, with
;; loaddefs.el still not loaded.
(declare-function multi-isearch-switch-buffer "misearch" ())
(defun isearch-search-string (string bound noerror)
"Search for the first occurrence of STRING or its translation.
STRING's characters are translated using `translation-table-for-input'