diff options
author | Andrew Eggenberger <andrew.eggenberger@gmail.com> | 2018-04-16 19:07:41 -0500 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2018-04-20 11:05:28 +0200 |
commit | 8c3d4fbde7989484aa857451beac72b35a9c987c (patch) | |
tree | de0a1d034e35b0dc519b1af2653a54bc12512287 | |
parent | 8814988d1cdfb1612919f42d6498b8aea326b220 (diff) | |
download | org-mode-8c3d4fbde7989484aa857451beac72b35a9c987c.tar.gz |
Document `org-timestamp-up' and `org-timestamp-down' behavior
* org.el (org-timestamp-up): Document undocumented behavior.
(org-timestamp-up): The function changes the timestamp type when
the point is on the enclosing bracket. The documentation now
reflects that behavior.
* org.el (org-timestamp-down): Document undocumented behavior.
(org-timestamp-down): The function changes the timestamp type when
the point is on the enclosing bracket. The documentation now
reflects that behavior.
TINYCHANGE
-rw-r--r-- | lisp/org.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/org.el b/lisp/org.el index e6080e0..91d00c6 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -17802,7 +17802,8 @@ NODEFAULT, hour and minute fields will be nil if not given." (defun org-timestamp-up (&optional arg) "Increase the date item at the cursor by one. If the cursor is on the year, change the year. If it is on the month, -the day or the time, change that. +the day or the time, change that. If the cursor is on the enclosing +bracket, change the timestamp type. With prefix ARG, change by that many units." (interactive "p") (org-timestamp-change (prefix-numeric-value arg) nil 'updown)) @@ -17810,7 +17811,8 @@ With prefix ARG, change by that many units." (defun org-timestamp-down (&optional arg) "Decrease the date item at the cursor by one. If the cursor is on the year, change the year. If it is on the month, -the day or the time, change that. +the day or the time, change that. If the cursor is on the enclosing +bracket, change the timestamp type. With prefix ARG, change by that many units." (interactive "p") (org-timestamp-change (- (prefix-numeric-value arg)) nil 'updown)) |