|
@@ -17307,7 +17307,12 @@ This command does many different things, depending on context:
|
|
|
((or `babel-call `inline-babel-call)
|
|
|
(let ((info (org-babel-lob-get-info context)))
|
|
|
(when info (org-babel-execute-src-block nil info nil type))))
|
|
|
- (`clock (org-clock-update-time-maybe))
|
|
|
+ (`clock
|
|
|
+ (if (org-at-timestamp-p 'lax)
|
|
|
+ ;; Update the timestamp as well. `org-timestamp-change'
|
|
|
+ ;; will call `org-clock-update-time-maybe'.
|
|
|
+ (org-timestamp-change 0 'day)
|
|
|
+ (org-clock-update-time-maybe)))
|
|
|
(`dynamic-block
|
|
|
(save-excursion
|
|
|
(goto-char (org-element-property :post-affiliated context))
|