all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* isearch-edit-string
@ 2007-03-07 18:15 Lennart Borgman (gmail)
  2007-03-11  4:24 ` isearch-edit-string Richard Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: Lennart Borgman (gmail) @ 2007-03-07 18:15 UTC (permalink / raw)
  To: Emacs Devel

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 "")))

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: isearch-edit-string
  2007-03-07 18:15 isearch-edit-string Lennart Borgman (gmail)
@ 2007-03-11  4:24 ` Richard Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2007-03-11  4:24 UTC (permalink / raw)
  To: Lennart Borgman (gmail); +Cc: emacs-devel

    According to the doc string of read-from-minibuffer the hist arg should 
    be nil or a cons.

No, a symbol is ok too.  This code works.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-11  4:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-07 18:15 isearch-edit-string Lennart Borgman (gmail)
2007-03-11  4:24 ` isearch-edit-string Richard Stallman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.