summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfpi2020-12-20 13:30:50 +0100
committerfpi2022-03-17 14:44:37 +0100
commitf8f1ffcfb24317c8571121d95cbe8874d73d7281 (patch)
tree7a774431ffbabb8af695bb7dc2410e9cb66b458e
parentAdd agenda breadcrumbs listing parent projects (diff)
Make fpi/org-agenda-hotness usable on agenda lines
-rw-r--r--emacs-init.org2
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 ()