diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2018-03-31 08:10:09 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2018-03-31 08:10:09 +0200 |
commit | 26e2212a96994b2167be748a94ea55b239f7df66 (patch) | |
tree | 7a03d8999cabd8e32284d1019e1dedb1e39ed61d /helm.el | |
parent | 5fafff502e182e5c87a80d061c1f7cfcd0956cb9 (diff) |
Ensure to get helm-sources from helm-buffer when resuming
This fix resuming from *occur.
* helm.el (helm-funcall-foreach): Do it.
Diffstat (limited to 'helm.el')
-rw-r--r-- | helm.el | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1992,7 +1992,8 @@ Return the result of last function call." (defun helm-funcall-foreach (sym &optional sources) "Call the associated function(s) to SYM for each source if any." (let ((sources (or (helm-get-sources sources) - helm-sources))) + ;; `helm-sources' are local to helm-buffer. + (with-helm-buffer helm-sources)))) (cl-dolist (source sources) (helm-aif (assoc-default sym source) (helm-funcall-with-source source it))))) |