branch: elpa/helm commit dd5e1755bb45b88a746ba217914a7921a7807fa7 Author: Thierry Volpiatto <thie...@posteo.net> Commit: Thierry Volpiatto <thie...@posteo.net>
Add comment --- helm-core.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/helm-core.el b/helm-core.el index 9ef6a786c2..6b32ce6fd9 100644 --- a/helm-core.el +++ b/helm-core.el @@ -5114,7 +5114,9 @@ without recomputing them, it should be a list of lists." (defun helm-maybe-dim-prompt-on-update (overlay) "Make minibuffer foreground gray while updating. Argument OVERLAY is a ref-cell." - (when (and helm-dim-prompt-on-update (not (helm-empty-buffer-p))) + (when (and helm-dim-prompt-on-update + ;; Avoid an empty window when coming from bookmarks. + (not (helm-empty-buffer-p))) (with-selected-window (minibuffer-window) (setcar overlay (make-overlay (minibuffer-prompt-end) (point-max))) (overlay-put (car overlay) 'face '(:foreground "DimGray"))