summaryrefslogtreecommitdiff
path: root/helm-misc.el
diff options
context:
space:
mode:
Diffstat (limited to 'helm-misc.el')
-rw-r--r--helm-misc.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/helm-misc.el b/helm-misc.el
index 367650ec..9ea7c506 100644
--- a/helm-misc.el
+++ b/helm-misc.el
@@ -334,9 +334,7 @@ Default action change TZ environment variable locally to emacs."
:keymap helm-minibuffer-history-map
:allow-nest t)))
;; Fix issue #1667 with emacs-25+ `query-replace-from-to-separator'.
- (when (and (boundp 'query-replace-from-to-separator)
- (eq minibuffer-history-variable
- 'query-replace-from-to-history))
+ (when (boundp 'query-replace-from-to-separator)
(let ((pos (string-match "\0" elm)))
(and pos
(add-text-properties