Fix tab-bar "integration"

* eldoc-box.el (tab-bar): tab-bar-mode should be tab-bar instead.
(tab-line): Add the same workaround for tab-line-mode.
This commit is contained in:
Yuan Fu 2023-04-27 01:04:13 -07:00
parent 4066df5a29
commit 939724afef
No known key found for this signature in database
GPG Key ID: 56E19BC57664A442

View File

@ -769,9 +769,12 @@ This allows any change in childframe parameter to take effect."
(interactive)
(setq eldoc-box--frame nil))
(with-eval-after-load 'tab-bar-mode
(with-eval-after-load 'tab-bar
(add-hook 'tab-bar-mode-hook #'eldoc-box-reset-frame))
(with-eval-after-load 'tab-line
(add-hook 'tab-line-mode-hook #'eldoc-box-reset-frame))
(provide 'eldoc-box)
;;; eldoc-box.el ends here