Skip to content

Commit

Permalink
Merge: (org-super-agenda--group-dispatch-take) Fix argument
Browse files Browse the repository at this point in the history
Fixes #248.

Reported-by: Cash Prokop-Weaver <https://github.com/cashpw>
Co-authored-by: Cash Prokop-Weaver <https://github.com/cashpw>
Co-authored-by: Nate Long <https://github.com/natejlong>
  • Loading branch information
alphapapa committed Sep 21, 2023
2 parents f4f5289 + db26ddd commit a871f39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion org-super-agenda.el
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ see."
(setq org-super-agenda-group-types (plist-put org-super-agenda-group-types
:not 'org-super-agenda--group-dispatch-not))

(cl-defun org-super-agenda--group-dispatch-take (items (n &rest group))
(cl-defun org-super-agenda--group-dispatch-take (items (n group))
"Take N ITEMS that match selectors in GROUP.
If N is positive, take the first N items, otherwise take the last N items.
Note: the ordering of entries is not guaranteed to be preserved, so this may
Expand Down

0 comments on commit a871f39

Please sign in to comment.