Browse Source

Merge branch 'maint'

Nicolas Goaziou 7 years ago
parent
commit
95af956cfd
1 changed files with 4 additions and 2 deletions
  1. 4 2
      lisp/org.el

+ 4 - 2
lisp/org.el

@@ -17142,7 +17142,8 @@ NODEFAULT, hour and minute fields will be nil if not given."
 (defun org-timestamp-up (&optional arg)
 (defun org-timestamp-up (&optional arg)
   "Increase the date item at the cursor by one.
   "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,
 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."
 With prefix ARG, change by that many units."
   (interactive "p")
   (interactive "p")
   (org-timestamp-change (prefix-numeric-value arg) nil 'updown))
   (org-timestamp-change (prefix-numeric-value arg) nil 'updown))
@@ -17150,7 +17151,8 @@ With prefix ARG, change by that many units."
 (defun org-timestamp-down (&optional arg)
 (defun org-timestamp-down (&optional arg)
   "Decrease the date item at the cursor by one.
   "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,
 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."
 With prefix ARG, change by that many units."
   (interactive "p")
   (interactive "p")
   (org-timestamp-change (- (prefix-numeric-value arg)) nil 'updown))
   (org-timestamp-change (- (prefix-numeric-value arg)) nil 'updown))