forked from emacs-citar/citar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Embark multi-actions
* Introduces the following naming convention for function arguments: - KEYS-ENTRIES is a list whose elements are either KEY or (KEY . ENTRY) pairs. - KEY-ENTRY-ALIST is a list whose elements are (KEY . ENTRY) pairs - KEYS is a list whose elements are keys. * The existing function `citar--extract-keys` will transform KEYS-ENTRIES into KEYS. * The new function `citar--ensure-entries` will transform KEYS or KEYS-ENTRIES into a KEY-ENTRY-ALIST. Almost all the user-facing Citar commands (and the non-interactive function `citar-run-default-action` take KEYS-ENTRIES arguments and have been added to `embark-multitarget-actions`. These arguments are transformed into `KEY-ENTRY-ALIST` in the few places that need them. Closes emacs-citar#486.
- Loading branch information
1 parent
51b30f2
commit 43f6e04
Showing
3 changed files
with
73 additions
and
46 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
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
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