]> git.eshelyaron.com Git - emacs.git/commit
* lisp/replace.el: History for query replace pairs.
authorJuri Linkov <juri@jurta.org>
Fri, 7 Nov 2014 23:33:41 +0000 (01:33 +0200)
committerJuri Linkov <juri@jurta.org>
Fri, 7 Nov 2014 23:33:41 +0000 (01:33 +0200)
commit2b513c3b1c67e16813118f7682cc088ecd070e07
treee9a10bf4eb27a74cf5c6ce2bd8d87bbeb34e2859
parent3946aeb962440b8e76fea95c31aa518928082cc6
* lisp/replace.el: History for query replace pairs.
(query-replace-defaults): Promote to a list of cons cell.  Doc fix.
(query-replace-from-to-separator): New variable.
(query-replace-read-from): Let-bind query-replace-from-to-history
to a list of FROM-TO strings created from query-replace-defaults
and separated by query-replace-from-to-separator.  Use it as
the history while reading from the minibuffer.  Split the returned
string by the separator to get FROM and TO parts, and add them
to the history variables.
(query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
(query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html

* lisp/isearch.el (isearch-text-char-description): Keep characters
intact and put formatted strings with the `display' property.
lisp/ChangeLog
lisp/isearch.el
lisp/replace.el