From b60edc480d44366e364a46702c9f787f743cdfce Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 29 Apr 2017 10:37:39 +0200 Subject: [PATCH] org-duration: Small docstring improvement * lisp/org-duration.el (org-duration-format): Remove ambiguous reference to a "next smallest unit". Reword REQUIRED? description. --- lisp/org-duration.el | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lisp/org-duration.el b/lisp/org-duration.el index 51513d8c4..b00e4614d 100644 --- a/lisp/org-duration.el +++ b/lisp/org-duration.el @@ -116,12 +116,10 @@ pattern: UNIT is a unit string, as defined in `org-duration-units'. The time duration is formatted using only the time components that -are specified here. If a time unit in missing, it falls back to -the next smallest unit. +are specified here. -A non-nil REQUIRED? value for these keys indicates that the -corresponding time component should always be included, even if -its value is 0. +Units with a zero value are skipped, unless REQUIRED? is non-nil. +In that case, the unit is always used. Eventually, the list can contain one of the following special entries: