mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-25 07:27:57 +00:00
org.el (org-timestamp-change): Don't use the `position'.
* org.el (org-timestamp-change): Don't use the `position'.
This commit is contained in:
parent
b7a7a13ad1
commit
8f5b9b2bdf
@ -16325,7 +16325,8 @@ in the timestamp determines what will be changed."
|
||||
(org-back-to-heading t)
|
||||
(let* ((cl (mapcar (lambda(c) (abs (- (marker-position c) (point))))
|
||||
org-clock-history))
|
||||
(clfixnth (+ fixnext (position (apply #'min cl) cl)))
|
||||
(clfixnth
|
||||
(+ fixnext (- (length cl) (or (length (member (apply #'min cl) cl)) 100))))
|
||||
(clfixpos (if (> 0 clfixnth) nil (nth clfixnth org-clock-history))))
|
||||
(if (not clfixpos)
|
||||
(message "No clock to adjust")
|
||||
|
Loading…
Reference in New Issue
Block a user