diff --git a/helm-org.el b/helm-org.el index 527de0f..2b16e65 100644 --- a/helm-org.el +++ b/helm-org.el @@ -295,8 +295,7 @@ Get PARENTS as well when specified." ;; clear cache for new version of org-get-outline-path (and (boundp 'org-outline-path-cache) (setq org-outline-path-cache nil)) - (cl-loop with width = (window-width (helm-window)) - while (funcall search-fn) + (cl-loop while (funcall search-fn) for beg = (point-at-bol) for end = (point-at-eol) when (and fontify @@ -320,7 +319,7 @@ Get PARENTS as well when specified." (list heading)) (wrong-number-of-arguments (org-get-outline-path t t))) - width file) + 999 file) (if file (concat file (funcall match-fn 0)) (funcall match-fn 0)))