]> code.delx.au - gnu-emacs/blobdiff - lisp/misearch.el
Add `predicate' arg to `read-buffer' and use it for erc-iswitchb
[gnu-emacs] / lisp / misearch.el
index dcc819564fb62bbdcd057d410ad2d4637f4eed04..65969113d93754b5da1ed7ca361de94a8d0bc6e3 100644 (file)
@@ -234,7 +234,7 @@ set in `multi-isearch-buffers' or `multi-isearch-buffers-regexp'."
         (ido-ignore-item-temp-list bufs))
     (while (not (string-equal
                 (setq buf (read-buffer
-                           (if (eq read-buffer-function 'ido-read-buffer)
+                           (if (eq read-buffer-function #'ido-read-buffer)
                                "Next buffer to search (C-j to end): "
                              "Next buffer to search (RET to end): ")
                            nil t))
@@ -377,6 +377,8 @@ whose file names match the specified wildcard."
     (goto-char (if isearch-forward (point-min) (point-max)))
     (isearch-forward-regexp nil t)))
 
+(defvar unload-function-defs-list)
+
 (defun multi-isearch-unload-function ()
   "Remove autoloaded variables from `unload-function-defs-list'.
 Also prevent the feature from being reloaded via `isearch-mode-hook'."