org.el: Fix custom timestamps for date ranges
commit1849f391bc75e9e4e7dba9e8587f01532b6d7cdf
authorJan Seeger <jan.seeger@thenybble.de>
Thu, 6 Jul 2017 15:19:10 +0000 (6 17:19 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 6 Jul 2017 17:21:06 +0000 (6 19:21 +0200)
tree20d87226055ec8282100f43e834e55025dc5cd21
parent61ffe97885c5e01c77cdf0023bb0e1a2d320261c
org.el: Fix custom timestamps for date ranges

* org.el (org-activate-dates): Change `org-activate-dates' to activate
custom timestamps for both dates in date ranges. Formerly, only the
second date would be activated. The reason was a misplaced
`if'. Replaced it with `when'. Also added doc comments.

TINYCHANGE
lisp/org.el