summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2021-05-21 13:37:48 +0300
committerEli Zaretskii <eliz@gnu.org>2021-05-21 13:37:48 +0300
commitfe8c1e7b1a683d0177ad1cbea0cc37b6f92d84f3 (patch)
tree829916b69e2df43737d644540350d4c3aeade6ea /lisp
parent92464bd9b7437c776ddcf7169d9f577ad6f89c86 (diff)
downloademacs-fe8c1e7b1a683d0177ad1cbea0cc37b6f92d84f3.tar.gz
Avoid byte-compiler warning during bootstrap
* lisp/isearch.el (multi-isearch-switch-buffer): Avoid byte-compiler warning.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/isearch.el4
1 files changed, 4 insertions, 0 deletions
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'