This commit is contained in:
anpandey 2025-04-22 11:44:45 +00:00 committed by GitHub
commit 1d33a2f94b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 19 additions and 0 deletions

View file

@ -951,6 +951,8 @@ return an empty string."
(file-name-sans-extension
(file-name-nondirectory buffer-file-name))))))
""))
(effort-string (org-element-property (intern (concat ":" (upcase org-effort-property))) element))
(effort (when effort-string (org-duration-to-minutes effort-string)))
(priority-string (-some->> (org-element-property :priority element)
(char-to-string)
(format "[#%s]")
@ -973,6 +975,9 @@ return an empty string."
'org-category category
'todo-state todo-keyword
'tags tag-list
'txt (org-add-props string nil
'effort effort-string
'effort-minutes effort)
'org-habit-p habit-property)))))
(defun org-ql-view--add-faces (element)