Respect inherited face attribute (issue#77)

* eldoc-box.el (eldoc-box--get-frame): Respect inherited attribute.
This commit is contained in:
Yuan Fu 2023-07-28 22:32:33 -07:00
parent 049eacfd98
commit 2070e2fc16
No known key found for this signature in database
GPG Key ID: 56E19BC57664A442

View File

@ -476,7 +476,7 @@ Checkout `lsp-ui-doc--make-frame', `lsp-ui-doc--move-frame'."
(set-face-attribute 'internal-border frame :inherit 'eldoc-box-border)
(when (facep 'child-frame-border)
(set-face-background 'child-frame-border
(face-attribute 'eldoc-box-border :background)
(face-attribute 'eldoc-box-border :background nil t)
frame))
(eldoc-box--update-childframe-geometry frame window)
(setq eldoc-box--frame frame)