Skip to content

Commit

Permalink
Add docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyyManni committed Oct 4, 2019
1 parent b089cc6 commit 9c61f72
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ejira-agenda.el
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"When set, pressing <RET> in agenda opens the issue in an indirect buffer.")

(declare-function ejira-focus-item-under-point "ejira.el")
(declare-function ejira-progress-issue "ejira.el")

(defvar ejira-narrow-to-issue-from-agenda t)
(defun ejira--focus-advice ()
Expand Down Expand Up @@ -180,15 +181,15 @@ parameters."
(org-agenda-mark-clocking-task)))

(defun ejira-agenda-pull-item ()
"Update the item under point."
(interactive)
(ejira-agenda--cmd #'ejira--update-task))

(defun ejira-agenda-progress-item ()
"Progress the item under point by interactively selecing an action."
(interactive)
(ejira-agenda--cmd (lambda (key)
(ejira--with-point-on key (ejira-progress-issue)))))

(general-define-key "<f6>" 'ejira-agenda-pull-item)

(provide 'ejira-agenda)
;;; ejira-agenda.el ends here

0 comments on commit 9c61f72

Please sign in to comment.