diff options
author | Bastien Guerry <bzg@altern.org> | 2011-06-28 19:27:12 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2011-06-28 19:27:12 +0200 |
commit | f9cc3f525b68556ff49c964b62182f6fa892107c (patch) | |
tree | 9e331072d5ac8aed1b06ff3359cceafa3e7477d7 | |
parent | 8d93fc8a3bfc0faede9b2daf27163ddc6669721e (diff) | |
download | org-mode-f9cc3f525b68556ff49c964b62182f6fa892107c.tar.gz |
org.el: make org-time-stamp also keep warning periods.
... not only repeaters.
Thanks to Karl Voit for spotting this.
-rw-r--r-- | lisp/org.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index e139f91..d918a24 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -14386,7 +14386,7 @@ at the cursor, it will be modified." (save-match-data (end-of-line) (when (re-search-backward - "\\([.+]+[0-9]+[dwmy]\\(?:[/ ][-+]?[0-9]+[dwmy]\\)?\\) ?" + "\\([.+-]+[0-9]+[dwmy]\\(?:[/ ][-+]?[0-9]+[dwmy]\\)?\\) ?" (- (point) 20) t) (match-string 1))))) org-time-was-given org-end-time-was-given time) |