File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -13684,10 +13684,14 @@ user."
1368413684 (unless deltadef
1368513685 (let ((now (decode-time)))
1368613686 (setq day (nth 3 now) month (nth 4 now) year (nth 5 now))))
13687- (cond ((member deltaw '("d" "")) (setq day (+ day deltan)))
13688- ((equal deltaw "w") (setq day (+ day (* 7 deltan))))
13689- ((equal deltaw "m") (setq month (+ month deltan)))
13690- ((equal deltaw "y") (setq year (+ year deltan)))))
13687+ (cond ((member deltaw '("h" ""))
13688+ (when (boundp 'org-time-was-given)
13689+ (setq org-time-was-given t))
13690+ (setq hour (+ hour deltan)))
13691+ ((member deltaw '("d" "")) (setq day (+ day deltan)))
13692+ ((equal deltaw "w") (setq day (+ day (* 7 deltan))))
13693+ ((equal deltaw "m") (setq month (+ month deltan)))
13694+ ((equal deltaw "y") (setq year (+ year deltan)))))
1369113695 ((and wday (not (nth 3 tl)))
1369213696 ;; Weekday was given, but no day, so pick that day in the week
1369313697 ;; on or after the derived date.
You can’t perform that action at this time.
0 commit comments