소스 검색

Silence byte-compiler

Nicolas Goaziou 6 년 전
부모
커밋
d64f7a2c9b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)))