diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-01-18 08:43:40 +0100 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-01-18 08:43:40 +0100 |
commit | ea96350502a14bedf064c314581b0fd588f06244 (patch) | |
tree | cd7ceb163a16bdd2984d7f7976786d83f1728334 /helm-misc.el | |
parent | 2b8576c0705145b5d133e41478976eef5b3d7390 (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.el | 4 |
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 |