From e91bf47e4d8f0d405edda05cc46bfa951b47a036 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 7 May 2019 07:32:20 +0200 Subject: [PATCH] Fix docstring * lisp/org.el (org-timestamp-change): Fix docstring. Reported-by: Tim Landscheidt --- lisp/org.el | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index d5cb5bb0a..1b015b42d 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -17377,10 +17377,16 @@ When matching, the match groups are the following: (defvar org-clock-adjust-closest nil) ; defined in org-clock.el (defun org-timestamp-change (n &optional what updown suppress-tmp-delay) "Change the date in the time stamp at point. -The date will be changed by N times WHAT. WHAT can be `day', `month', -`year', `minute', `second'. If WHAT is not given, the cursor position -in the timestamp determines what will be changed. -When SUPPRESS-TMP-DELAY is non-nil, suppress delays like \"--2d\"." + +The date is changed by N times WHAT. WHAT can be `day', `month', +`year', `hour', or `minute'. If WHAT is not given, the cursor +position in the timestamp determines what is changed. + +When optional argument UPDOWN is non-nil, minutes are rounded +according to `org-time-stamp-rounding-minutes'. + +When SUPPRESS-TMP-DELAY is non-nil, suppress delays like +\"--2d\"." (let ((origin (point)) (timestamp? (org-at-timestamp-p 'lax)) origin-cat