*** replace.el.~1.166.~ 2003-09-08 17:57:00.000000000 +0200 --- replace.el 2004-02-02 13:07:58.000000000 +0100 *************** *** 223,229 **** (if (and transient-mark-mode mark-active) (region-end))))) (perform-replace regexp (cons 'replace-eval-replacement to-expr) ! t t delimited nil nil start end)) (defun map-query-replace-regexp (regexp to-strings &optional n start end) "Replace some matches for REGEXP with various strings, in rotation. --- 223,229 ---- (if (and transient-mark-mode mark-active) (region-end))))) (perform-replace regexp (cons 'replace-eval-replacement to-expr) ! t 'literal delimited nil nil start end)) (defun map-query-replace-regexp (regexp to-strings &optional n start end) "Replace some matches for REGEXP with various strings, in rotation. *************** *** 1057,1063 **** (case-fold-search (and case-fold-search (string-equal from-string (downcase from-string)))) ! (literal (not regexp-flag)) (search-function (if regexp-flag 're-search-forward 'search-forward)) (search-string from-string) (real-match-data nil) ; the match data for the current match --- 1057,1063 ---- (case-fold-search (and case-fold-search (string-equal from-string (downcase from-string)))) ! (literal (or (not regexp-flag) (eq regexp-flag 'literal))) (search-function (if regexp-flag 're-search-forward 'search-forward)) (search-string from-string) (real-match-data nil) ; the match data for the current match