• Juri Linkov's avatar
    * lisp/replace.el: History for query replace pairs. · 2b513c3b
    Juri Linkov authored
    (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.
    2b513c3b
isearch.el 125 KB