瀏覽代碼

Merge branch 'maint'

Kyle Meyer 5 年之前
父節點
當前提交
6f5516953f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/org-table.el

+ 1 - 1
lisp/org-table.el

@@ -2822,7 +2822,7 @@ ARGS are passed as arguments to the `message' function.  Returns
 current time if a message is printed, otherwise returns T1.  If
 current time if a message is printed, otherwise returns T1.  If
 T1 is nil, always messages."
 T1 is nil, always messages."
   (let ((curtime (current-time)))
   (let ((curtime (current-time)))
-    (if (or (not t1) (< 0 (nth 1 (time-subtract curtime t1))))
+    (if (or (not t1) (org-time-less-p 1 (org-time-subtract curtime t1)))
 	(progn (apply 'message args)
 	(progn (apply 'message args)
 	       curtime)
 	       curtime)
       t1)))
       t1)))