summaryrefslogtreecommitdiff
path: root/helm-misc.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2017-01-18 08:43:40 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2017-01-18 08:43:40 +0100
commitea96350502a14bedf064c314581b0fd588f06244 (patch)
treecd7ceb163a16bdd2984d7f7976786d83f1728334 /helm-misc.el
parent2b8576c0705145b5d133e41478976eef5b3d7390 (diff)
Fix test in previous commit (#1667).
* helm-misc.el (helm-minibuffer-history): Remove test with history var.
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