]> git.eshelyaron.com Git - emacs.git/commitdiff
Avoid byte-compiler warning during bootstrap
authorEli Zaretskii <eliz@gnu.org>
Fri, 21 May 2021 10:37:48 +0000 (13:37 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 21 May 2021 10:37:48 +0000 (13:37 +0300)
* lisp/isearch.el (multi-isearch-switch-buffer): Avoid
byte-compiler warning.

lisp/isearch.el

index 00969e5e2af47716f107d097426a338814c497af..232a994dfa7d7f84ee73663cbad7dedd2b1ac76d 100644 (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'