|
@@ -13987,7 +13987,7 @@ user."
|
|
(when (< (nth 2 org-defdecode) org-extend-today-until)
|
|
(when (< (nth 2 org-defdecode) org-extend-today-until)
|
|
(setf (nth 2 org-defdecode) -1)
|
|
(setf (nth 2 org-defdecode) -1)
|
|
(setf (nth 1 org-defdecode) 59)
|
|
(setf (nth 1 org-defdecode) 59)
|
|
- (setq org-def (encode-time org-defdecode))
|
|
|
|
|
|
+ (setq org-def (apply #'encode-time org-defdecode))
|
|
(setq org-defdecode (decode-time org-def)))
|
|
(setq org-defdecode (decode-time org-def)))
|
|
(let* ((timestr (format-time-string
|
|
(let* ((timestr (format-time-string
|
|
(if org-with-time "%Y-%m-%d %H:%M" "%Y-%m-%d")
|
|
(if org-with-time "%Y-%m-%d %H:%M" "%Y-%m-%d")
|
|
@@ -14471,7 +14471,7 @@ The command returns the inserted time stamp."
|
|
time (org-fix-decoded-time t1)
|
|
time (org-fix-decoded-time t1)
|
|
str (org-add-props
|
|
str (org-add-props
|
|
(format-time-string
|
|
(format-time-string
|
|
- (substring tf 1 -1) (encode-time time))
|
|
|
|
|
|
+ (substring tf 1 -1) (apply 'encode-time time))
|
|
nil 'mouse-face 'highlight))
|
|
nil 'mouse-face 'highlight))
|
|
(put-text-property beg end 'display str)))
|
|
(put-text-property beg end 'display str)))
|
|
|
|
|
|
@@ -14726,7 +14726,7 @@ days in order to avoid rounding problems."
|
|
|
|
|
|
(defun org-time-string-to-time (s)
|
|
(defun org-time-string-to-time (s)
|
|
"Convert timestamp string S into internal time."
|
|
"Convert timestamp string S into internal time."
|
|
- (encode-time (org-parse-time-string s)))
|
|
|
|
|
|
+ (apply #'encode-time (org-parse-time-string s)))
|
|
|
|
|
|
(defun org-time-string-to-seconds (s)
|
|
(defun org-time-string-to-seconds (s)
|
|
"Convert a timestamp string S into a number of seconds."
|
|
"Convert a timestamp string S into a number of seconds."
|
|
@@ -15166,7 +15166,7 @@ When SUPPRESS-TMP-DELAY is non-nil, suppress delays like
|
|
(setcar time0 (or (car time0) 0))
|
|
(setcar time0 (or (car time0) 0))
|
|
(setcar (nthcdr 1 time0) (or (nth 1 time0) 0))
|
|
(setcar (nthcdr 1 time0) (or (nth 1 time0) 0))
|
|
(setcar (nthcdr 2 time0) (or (nth 2 time0) 0))
|
|
(setcar (nthcdr 2 time0) (or (nth 2 time0) 0))
|
|
- (setq time (encode-time time0))))
|
|
|
|
|
|
+ (setq time (apply 'encode-time time0))))
|
|
;; Insert the new time-stamp, and ensure point stays in the same
|
|
;; Insert the new time-stamp, and ensure point stays in the same
|
|
;; category as before (i.e. not after the last position in that
|
|
;; category as before (i.e. not after the last position in that
|
|
;; category).
|
|
;; category).
|