-
-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve handling of heads with duplicate cmd
hydra.el (hydra--delete-duplicates): Modify :cmd-name property of duplicate head to to name of the head that it duplicates. Heads are considered duplicate if their CMD and COLOR is the same. The first of the duplicates gets a defun, the rest call it. * hydra.el (defhydra): Bring heads into a uniform notation. If a docstring is missing, set it to "". Set :cmd-name property to the head's name. * hydra-test.el: Add tests. Fixes #52.
- Loading branch information
Showing
2 changed files
with
324 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.