emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Patch: Document undocumented behavior in `org-timestamp-up'
@ 2018-04-17  0:24 Andrew Eggenberger
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Eggenberger @ 2018-04-17  0:24 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1207 bytes --]

From 7b2dd929cc7f94a7162429b698f23245d7d7d3c0 Mon Sep 17 00:00:00 2001
From: Andrew Eggenberger <andrew.eggenberger@gmail.com>
Date: Mon, 16 Apr 2018 19:07:41 -0500
Subject: [PATCH] Document undocumented org-timestamp-up 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.

TINYCHANGE
---
 lisp/org.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/org.el b/lisp/org.el
index 01149ed..40f785b 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -17260,7 +17260,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))
-- 
2.10.1 (Apple Git-78)



*Andrew Eggenberger*

[-- Attachment #2: Type: text/html, Size: 1922 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Patch: Document undocumented behavior in `org-timestamp-up'
@ 2018-04-21 16:13 Andrew Eggenberger
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Eggenberger @ 2018-04-21 16:13 UTC (permalink / raw)
  To: andrew.eggenberger, emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 129 bytes --]

Please disregard. I sent an expanded version after joining the list. That
on has already been applied.
-- 

*Andrew Eggenberger*

[-- Attachment #2: Type: text/html, Size: 315 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-04-21 16:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-17  0:24 Patch: Document undocumented behavior in `org-timestamp-up' Andrew Eggenberger
2018-04-21 16:13 Andrew Eggenberger

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).