summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--org-urgency.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/org-urgency.el b/org-urgency.el
index 4ae9923..316ffdf 100644
--- a/org-urgency.el
+++ b/org-urgency.el
@@ -102,11 +102,12 @@ total urgency, or nil."
,@body)))
(org-urgency-define priority= (prio)
- (when (= (or (get 'priority) 1001) prio)
+ (when (= (get 'priority)
+ prio)
n))
(org-urgency-define priority ()
- (* (or (get 'priority) 1001) n))
+ (* (get 'priority) n))
(org-urgency-define scheduled ()
(when (org-get-scheduled-time (get 'org-marker))