From f8f1ffcfb24317c8571121d95cbe8874d73d7281 Mon Sep 17 00:00:00 2001 From: fpi Date: Sun, 20 Dec 2020 13:30:50 +0100 Subject: Make fpi/org-agenda-hotness usable on agenda lines --- emacs-init.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () -- cgit v1.2.3