emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] feature/gnus-select 4523701 147/218: * lisp/isearch.el (is


From: Andrew G Cohen
Subject: [Emacs-diffs] feature/gnus-select 4523701 147/218: * lisp/isearch.el (isearch-pre-command-hook): Replace cl-lib function.
Date: Fri, 14 Dec 2018 03:35:19 -0500 (EST)

branch: feature/gnus-select
commit 45237016f777bdd9cda8d3b3923658fb13e84cc7
Author: Glenn Morris <address@hidden>
Commit: Andrew G Cohen <address@hidden>

    * lisp/isearch.el (isearch-pre-command-hook): Replace cl-lib function.
    
    As a preloaded file, isearch.el cannot require cl-lib at runtime.
---
 lisp/isearch.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/isearch.el b/lisp/isearch.el
index 84b121a..aa6acfd 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -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.



reply via email to

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