Merge branch 'maint'

This commit is contained in:
Nicolas Goaziou 2017-07-24 09:42:50 +02:00
commit 6b9f9e9aff
2 changed files with 4 additions and 5 deletions

View File

@ -501,9 +501,9 @@ Capture templates
Protocols for external access
* @code{store-link} protocol:: Store a link, push URL to kill-ring
* @code{capture} protocol:: Fill a buffer with external information
* @code{open-source} protocol:: Edit published contents
* @code{store-link} protocol:: Store a link, push URL to kill-ring.
* @code{capture} protocol:: Fill a buffer with external information.
* @code{open-source} protocol:: Edit published contents.
Archiving

View File

@ -2710,8 +2710,7 @@ LEVEL is an integer. Indent by two spaces per level above 1."
(pcase-let ((`(,month ,day ,year) (calendar-gregorian-from-absolute te)))
(setq te (float-time (encode-time 0 0 0 day month year)))))
(te
(setq te (float-time
(apply #'encode-time (org-parse-time-string te nil t))))))
(setq te (float-time (apply #'encode-time (org-parse-time-string te))))))
(setq tsb
(if (eq step0 'week)
(- ts (* 86400 (- (nth 6 (decode-time (seconds-to-time ts))) ws)))