Skip to content

Commit

Permalink
Fix alphapapa#35: set org-agenda-type for org-ql buffer content
Browse files Browse the repository at this point in the history
Some functions in org-agenda checking against org-agenda-type variable to
ensure that this action is valid to run in that type of agenda. Notably
this fix running 'org-agenda-schedule' and 'org-agenda-deadline'
functions.

Also setting agenda type to 'search' prohibits some of the functions that
are still not working on in these buffers, like
"org-agenda-do-date-earlier".
  • Loading branch information
mskorzhinskiy committed Sep 13, 2019
1 parent 9bc3138 commit 805dd7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions org-ql-agenda.el
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,7 @@ return an empty string."
(org-add-props it properties
'todo-state todo-keyword
'tags tag-list
'org-agenda-type 'search
'org-habit-p habit-property)))))

(defun org-ql-agenda--add-faces (element)
Expand Down

0 comments on commit 805dd7f

Please sign in to comment.