mirror of
https://github.com/SqrtMinusOne/org-journal-tags.git
synced 2025-12-10 10:53:04 +03:00
refactor: lint
This commit is contained in:
parent
5a892399ac
commit
2840eb23a2
1 changed files with 3 additions and 1 deletions
|
|
@ -2267,7 +2267,9 @@ are as follows:
|
|||
|
||||
(cl-defmethod transient-infix-read ((obj org-journal-tags--transient-switches))
|
||||
"Cycle through the mutually exclusive switches.
|
||||
The last value is \"don't use any of these switches\"."
|
||||
|
||||
OBJ is an instance of the `org-journal-tags--transient-switches'
|
||||
class."
|
||||
(let ((choices (oref obj choices)))
|
||||
(let ((idx (cl-position (oref obj value) choices)))
|
||||
(nth (% (1+ idx) (length choices)) choices))))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue