Recover window-header-line-height

This commit is contained in:
Yuan Fu 2019-11-02 10:04:28 -04:00
parent d3ea596daa
commit 33b73c9169
No known key found for this signature in database
GPG Key ID: 56E19BC57664A442

View File

@ -252,7 +252,8 @@ WINDOW nil means use selected window."
(window (posn-window pos))
(edges (window-body-pixel-edges window)))
(cons (+ (car x-y) (car edges))
(+ (cdr x-y) (cadr edges)))))
(+ (cdr x-y) (cadr edges)
(- (window-header-line-height window))))))
(defun eldoc-box--default-at-point-position-function-1 (width height)
"See `eldoc-box--default-at-point-position-function'."