From 2c7028364175ddbe5d1176685361deb675615619 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 4 Jun 2016 21:29:27 +0200 Subject: [PATCH] org-colview: Fix docstrings * lisp/org-colview.el (org-columns--summary-min-age): (org-columns--summary-max-age): (org-columns--summary-mean-age): Fix argument name in docstrings. --- lisp/org-colview.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/org-colview.el b/lisp/org-colview.el index df030a57f..e29f88abc 100644 --- a/lisp/org-colview.el +++ b/lisp/org-colview.el @@ -1272,19 +1272,19 @@ When PRINTF is non-nil, use it to format the result." times)) (defun org-columns--summary-min-age (ages _) - "Compute the minimum time among TIMES." + "Compute the minimum time among AGES." (format-seconds "%dd %.2hh %mm %ss" (apply #'min (mapcar #'org-columns--age-to-seconds ages)))) (defun org-columns--summary-max-age (ages _) - "Compute the maximum time among TIMES." + "Compute the maximum time among AGES." (format-seconds "%dd %.2hh %mm %ss" (apply #'max (mapcar #'org-columns--age-to-seconds ages)))) (defun org-columns--summary-mean-age (ages _) - "Compute the minimum time among TIMES." + "Compute the minimum time among AGES." (format-seconds "%dd %.2hh %mm %ss" (/ (apply #'+ (mapcar #'org-columns--age-to-seconds ages))