diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2018-02-22 11:04:38 +0100 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2018-02-22 11:06:40 +0100 |
commit | 8dc4fddbe8c25480efed3cff50330246796eca6c (patch) | |
tree | 38735710dbe14b851441360f007682eb465d615a /helm.el | |
parent | b6b80c706b80d990623050eafb043fced7a68327 (diff) |
Ensure preselect run in helm-window when updating (#1971)
* helm.el (helm-update): Do it.
Diffstat (limited to 'helm.el')
-rw-r--r-- | helm.el | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4012,7 +4012,9 @@ without recomputing them, it should be a list of lists." (helm-log-run-hook 'helm-after-update-hook))) (when preselect (helm-log "Update preselect candidate %s" preselect) - (helm-preselect preselect source)) + (if (helm-window) + (with-helm-window (helm-preselect preselect source)) + (helm-preselect preselect source))) (setq helm--force-updating-p nil)) (helm-log "end update"))) |