emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tab-line] Tabs don't show up at start-up


From: Juri Linkov
Subject: Re: [tab-line] Tabs don't show up at start-up
Date: Tue, 07 Nov 2023 19:30:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)

> #+begin_src emacs-lisp 
>   (use-package tab-line
>     :ensure nil
>     :config
>     (global-tab-line-mode 1)
>     :bind
>     ("C-<prior>" . tab-line-switch-to-prev-tab)
>     ("C-<iso-lefttab>" . tab-line-switch-to-prev-tab)
>     ("C-<next>" . tab-line-switch-to-next-tab)
>     ("C-<tab>" . tab-line-switch-to-next-tab)
>     :custom
>     (tab-line-new-button-show nil)  ;; do not show add-new button
>     (tab-line-close-button-show nil)  ;; do not show close button
>     (tab-line-separator " ")  ;; set it to empty
>     )
> #+end_src
>  
> The issue is that no tab appears before I do one of the following keybind :
> C-<prior>, "C-<iso-lefttab>, C-<next>, C-<tab>.
> This bug only occurs when the keybindings are specified inside use-package.
> If the keybinds are specified outside of use-package, the bug disappears:

Due to idiosyncrasies of use-package you have to add `:defer nil`:

:defer   Defer loading of a package -- this is implied when using
         `:commands', `:bind', `:bind*', `:mode', `:magic', `:hook',
         `:magic-fallback', or `:interpreter'.  This can be an integer,
         to force loading after N seconds of idle time, if the package
         has not already been loaded.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]