Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when attempting to switch tab groups via interactive menu: Symbol’s function definition is void: first #215

Open
tomasfarias opened this issue Jul 24, 2023 · 0 comments

Comments

@tomasfarias
Copy link
Contributor

Running:

  • Emacs 30.0.50 (2023-06-26)
  • Arch Linux
  • A centaur-tabs configuration like the recommended one.

Expected behavior

With a mouse, right clicking on a tab, navigating to the tab groups menu, and selecting a different menu should switch to the selected group

Observed behavior

An error is shown:

Symbol’s function definition is void: first

And no switch occurs.

Potential cause

The function centaur-tabs--tab-menu is calling the first function here. From my (short) research, the first from the cl package appears to be deprecated in favor of cl-first provided by cl-lib (see this issue).

Potential resolution

Switching first for cl-first solves the issue (at least in my configuration). I'll open a PR to include this change, but if I'm misguided feel free to close it.

Thank you for making centaur-tabs!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant