From ffdbb1306bbf3bd2798228e21975d976c18a7e4a Mon Sep 17 00:00:00 2001 From: Simon Parri Date: Fri, 20 Jun 2025 11:40:24 -0500 Subject: Fix docstrings --- org-urgency.el | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'org-urgency.el') diff --git a/org-urgency.el b/org-urgency.el index 316ffdf..2516329 100644 --- a/org-urgency.el +++ b/org-urgency.el @@ -50,7 +50,7 @@ Each element in this list should be of the form -\\(FUNC . POST-ARGS) + (FUNC . POST-ARGS) FUNC will be the function called, and it will be called with the first argument being the heading in question (as passed to the function in @@ -58,16 +58,16 @@ argument being the heading in question (as passed to the function in If, then, `org-urgency-functions' were set to -\\((org-urgency-priority 10) - (org-urgency-state \"TODO\")) + '((org-urgency-priority 10) + (org-urgency-state \"TODO\")) then the urgency of a heading H would be equivalent to -\\(apply #\\='+ - (seq-remove #\\='null - (list - (org-urgency-priority h 10) - (org-urgency-state h \"TODO\" 10)))) + (apply #\\='+ + (seq-remove #\\='null + (list + (org-urgency-priority h 10) + (org-urgency-state h \"TODO\" 10)))) See the relevant `org-urgency-' functions for details. @@ -140,11 +140,11 @@ total urgency, or nil." LIST should be a list of lists whose `car' is a symbol and whose `cdr' is a list of arguments. An element such as -\\(tag \"@home\" 10) + (tag \"@home\" 10) will become -\\(org-urgency-tag \"@home\" 10)" + (org-urgency-tag \"@home\" 10)" (mapcar (lambda (x) (cons (intern (format "org-urgency-%s" (car x))) -- cgit v1.2.3