summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2019-08-24 00:11:07 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2019-08-24 00:11:07 +0200
commitd64f7a2c9bcc25b5c0e5e4e5ecd64862bd49a49b (patch)
tree27e6d8ba0a65ee970e6b8a84f860bc95173a62d6
parent5c55d3a53c982563c0409e342b8940009e1409f2 (diff)
downloadorg-mode-d64f7a2c9bcc25b5c0e5e4e5ecd64862bd49a49b.tar.gz
Silence byte-compiler
-rw-r--r--lisp/org-macs.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-macs.el b/lisp/org-macs.el
index d0c8d4e..d9c5e8d 100644
--- a/lisp/org-macs.el
+++ b/lisp/org-macs.el
@@ -1098,7 +1098,7 @@ nil, just return 0."
((numberp s) s)
((stringp s)
(condition-case nil
- (float-time (org-time-string-to-time s))
+ (float-time (apply #'encode-time (org-parse-time-string s)))
(error 0)))
(t 0)))