emacs-devel
[Top][All Lists]
Advanced

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

isearch-edit-string


From: Lennart Borgman (gmail)
Subject: isearch-edit-string
Date: Wed, 07 Mar 2007 19:15:18 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666

According to the doc string of read-from-minibuffer the hist arg should be nil or a cons. Therefore I believe the call in isearch-edit-string should look like this:

                (setq isearch-new-string
                      (read-from-minibuffer
(isearch-message-prefix nil nil isearch-nonincremental)
                       isearch-string
                       minibuffer-local-isearch-map nil
                       (cons
(if isearch-regexp 'regexp-search-ring 'search-ring)
                        1)
                       nil t)
                      isearch-new-message
                      (mapconcat 'isearch-text-char-description
                                 isearch-new-string "")))




reply via email to

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