Skip to content

Commit

Permalink
Fix eldoc-box--help-at-point-async-update (issue#96)
Browse files Browse the repository at this point in the history
* eldoc-box.el (eldoc-box--help-at-point-async-update): Check for nil
frame.
  • Loading branch information
casouri committed Jun 5, 2024
1 parent 89b2f4e commit 9658ba7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eldoc-box.el
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,8 @@ This is added to ‘eldoc-display-functions’, such that when async doc
comes in, the at-point doc pop-up can be updated.
For DOCS, see ‘eldoc-display-functions’."
(when (and (frame-visible-p eldoc-box--frame)
(when (and eldoc-box--frame
(frame-visible-p eldoc-box--frame)
(eq eldoc-box--help-at-point-last-point (point)))
(let ((eldoc-box-position-function
eldoc-box-at-point-position-function))
Expand Down

0 comments on commit 9658ba7

Please sign in to comment.