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

Is it possible to add to a hydra defined elsewhere? #411

Open
AtomicNess123 opened this issue May 19, 2022 · 1 comment
Open

Is it possible to add to a hydra defined elsewhere? #411

AtomicNess123 opened this issue May 19, 2022 · 1 comment

Comments

@AtomicNess123
Copy link

Let's suppose there is the hydra defined in a package, and I want to add a few actions to that hydra.
How should I add to that hydra?
Thanks!

@E3D3
Copy link

E3D3 commented Jan 23, 2024

You can easily adds new heads to an existing hydra with defhydra+, for example:
(defhydra+ some-existing-hydra () ("x" new-command "new head"))
You can find a little more info about this in issues #185 FR: Function to add heads to an existing hydra and #381 defhydra+ is missing documentation.

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

2 participants