mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-12-02 08:22:16 +00:00
org.el: make org-time-stamp also keep warning periods.
... not only repeaters. Thanks to Karl Voit for spotting this.
This commit is contained in:
parent
8d93fc8a3b
commit
f9cc3f525b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user