Inhibit tab-bar in childframe (#23)
This commit is contained in:
parent
138386aa32
commit
0fffdf9a11
@ -209,6 +209,8 @@ You can use C-g to hide the doc."
|
|||||||
(let ((doc-buffer (get-buffer-create eldoc-box--buffer)))
|
(let ((doc-buffer (get-buffer-create eldoc-box--buffer)))
|
||||||
(with-current-buffer doc-buffer
|
(with-current-buffer doc-buffer
|
||||||
(setq mode-line-format nil)
|
(setq mode-line-format nil)
|
||||||
|
(when (bound-and-true-p global-tab-line-mode)
|
||||||
|
(setq tab-line-format nil))
|
||||||
;; without this, clicking childframe will make doc buffer the current buffer
|
;; without this, clicking childframe will make doc buffer the current buffer
|
||||||
;; and `eldoc-box--maybe-cleanup' in `eldoc-box--cleanup-timer' will clear the childframe
|
;; and `eldoc-box--maybe-cleanup' in `eldoc-box--cleanup-timer' will clear the childframe
|
||||||
(buffer-face-set 'eldoc-box-body)
|
(buffer-face-set 'eldoc-box-body)
|
||||||
|
Loading…
Reference in New Issue
Block a user