From fe8c1e7b1a683d0177ad1cbea0cc37b6f92d84f3 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 21 May 2021 13:37:48 +0300 Subject: [PATCH] Avoid byte-compiler warning during bootstrap * lisp/isearch.el (multi-isearch-switch-buffer): Avoid byte-compiler warning. --- lisp/isearch.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lisp/isearch.el b/lisp/isearch.el index 00969e5e2af..232a994dfa7 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -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' -- 2.39.5