Skip to content

Commit

Permalink
emacs:vulpea:agenda: use defun instead of const for this q tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
d12frosted committed Jan 6, 2025
1 parent 40aa337 commit 22b6e70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion emacs/lisp/init-vulpea.el
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@
,vulpea-agenda-cmd-today
,vulpea-agenda-cmd-focus
,vulpea-agenda-cmd-waiting
,vulpea-agenda-cmd-current-quarter)
,(vulpea-agenda-cmd-current-quarter))
((org-agenda-buffer-name vulpea-agenda-main-buffer-name))))))


Expand Down
3 changes: 2 additions & 1 deletion emacs/lisp/lib-vulpea-agenda.el
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@ Affects the following commands:
vulpea-agenda-hide-scheduled-and-waiting-next-tasks))))

;;;###autoload
(defconst vulpea-agenda-cmd-current-quarter
(defun vulpea-agenda-cmd-current-quarter ()
"Return an agenda command"
(let ((quarter (vulpea-agenda-current-quarter (current-time))))
`(tags-todo
,quarter
Expand Down

0 comments on commit 22b6e70

Please sign in to comment.