From 0fffdf9a117fe8c76fc8c14196b532e63a501723 Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Tue, 8 Oct 2019 10:26:46 -0400 Subject: [PATCH] Inhibit tab-bar in childframe (#23) --- eldoc-box.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eldoc-box.el b/eldoc-box.el index ec042b9..8592189 100644 --- a/eldoc-box.el +++ b/eldoc-box.el @@ -209,6 +209,8 @@ You can use C-g to hide the doc." (let ((doc-buffer (get-buffer-create eldoc-box--buffer))) (with-current-buffer doc-buffer (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 ;; and `eldoc-box--maybe-cleanup' in `eldoc-box--cleanup-timer' will clear the childframe (buffer-face-set 'eldoc-box-body)