]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/isearch.el (isearch-pre-command-hook): Replace cl-lib function.
authorGlenn Morris <rgm@gnu.org>
Tue, 20 Mar 2018 21:15:39 +0000 (17:15 -0400)
committerAndrew G Cohen <cohen@andy.bu.edu>
Tue, 11 Dec 2018 06:17:53 +0000 (14:17 +0800)
As a preloaded file, isearch.el cannot require cl-lib at runtime.

lisp/isearch.el

index 84b121af9ef0efecc021f04a2ac63378becc117b..aa6acfd0c828c12332116d2431be8fa5aa89c9cd 100644 (file)
@@ -2441,7 +2441,7 @@ See more for options in `search-exit-option'."
       (setq isearch-pre-move-point (point)))
      ;; Append control characters to the search string
      ((eq search-exit-option 'append)
-      (when (cl-every #'characterp key)
+      (unless (memq nil (mapcar (lambda (k) (characterp k)) key))
         (isearch-process-search-string key key))
       (setq this-command 'ignore))
      ;; Other characters terminate the search and are then executed normally.