|
From: | Mark Oteiza |
Subject: | bug#24873: 26.0.50; isearch-query-replace from regexp isearch doesn't add to replace-regexp history list |
Date: | Fri, 4 Nov 2016 20:34:02 -0400 |
User-agent: | Mutt/1.7+23 (87911ba95dae) (2016-08-17) |
Does the following fix it for you? diff --git a/lisp/replace.el b/lisp/replace.el index 4fc48d4..60948ef 100644 --- a/lisp/replace.el +++ b/lisp/replace.el @@ -198,7 +198,7 @@ query-replace-read-from (setq-local text-property-default-nonsticky (cons '(separator . t) text-property-default-nonsticky))) (if regexp-flag - (read-regexp prompt) + (read-regexp prompt nil 'minibuffer-history) (read-from-minibuffer prompt nil nil nil nil (car (if regexp-flag regexp-search-ring search-ring)) t)))))
[Prev in Thread] | Current Thread | [Next in Thread] |