diff options
author | fpi | 2020-12-20 13:30:50 +0100 |
---|---|---|
committer | fpi | 2022-03-17 14:44:37 +0100 |
commit | f8f1ffcfb24317c8571121d95cbe8874d73d7281 (patch) | |
tree | 7a774431ffbabb8af695bb7dc2410e9cb66b458e | |
parent | Add agenda breadcrumbs listing parent projects (diff) |
Make fpi/org-agenda-hotness usable on agenda lines
Diffstat (limited to '')
-rw-r--r-- | emacs-init.org | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs-init.org b/emacs-init.org index a012cd8..99a8826 100644 --- a/emacs-init.org +++ b/emacs-init.org @@ -3731,7 +3731,7 @@ Similar to %b in `org-agenda-prefix-format'." ((> ha hb) +1) ((< ha hb) -1) (t nil)))) -(defun fpi/org-agenda-hotness (entry) +(defun fpi/org-agenda-hotness (&optional entry) "Return level of hot headlines over ENTRY." (org-agenda-with-point-at-orig-entry entry (fpi/org-hotness))) (defun fpi/org-hotness () |