Explorar o código

Silence byte-compiler

Nicolas Goaziou %!s(int64=6) %!d(string=hai) anos
pai
achega
d64f7a2c9b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lisp/org-macs.el

+ 1 - 1
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)))