emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master fe8c1e7: Avoid byte-compiler warning during bootstrap


From: Eli Zaretskii
Subject: master fe8c1e7: Avoid byte-compiler warning during bootstrap
Date: Fri, 21 May 2021 06:39:00 -0400 (EDT)

branch: master
commit fe8c1e7b1a683d0177ad1cbea0cc37b6f92d84f3
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    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 00969e5..232a994 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'



reply via email to

[Prev in Thread] Current Thread [Next in Thread]