summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonubinix <konubinix@gmail.com>2014-11-06 09:20:22 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2016-09-22 21:56:55 +0200
commit4835befde26f9b432f230165a0c48f9154abba5a (patch)
tree33bceb94c71f54d3ff3c6e67f16ceb6ab03cf4c4
parentf46b92df92f2c8202164b86b3a1ddee936ee2d4b (diff)
downloadorg-mode-4835befde26f9b432f230165a0c48f9154abba5a.tar.gz
org-expiry: Fix the call to `org-expiry-handler-function'
* contrib/lisp/org-expiry.el (org-expiry-process-entry): Fix the call to `org-expiry-handler-function'. `org-expiry-handler-function' is meant to be a variable containing the symbol of a function to be called. Therefore, calling (funcall 'org-expiry-handler-function) results in a void function error while (funcall org-expiry-handler-function) correctly calls the contained function.
-rw-r--r--contrib/lisp/org-expiry.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/lisp/org-expiry.el b/contrib/lisp/org-expiry.el
index 396f016..acba954 100644
--- a/contrib/lisp/org-expiry.el
+++ b/contrib/lisp/org-expiry.el
@@ -253,7 +253,7 @@ Otherwise rely on `org-expiry-confirm-flag' to decide."
(not (interactive)))
(and org-expiry-confirm-flag
(y-or-n-p (format "Entry expired by %d days. Process? " d))))
- (funcall 'org-expiry-handler-function))
+ (funcall org-expiry-handler-function))
(delete-overlay ov)))))
(defun org-expiry-process-entries (beg end)