mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-23 07:18:53 +00:00
org-list.el (org-sort-list): Don't move point when matching time values
* org-list.el (org-sort-list): Don't move point when matching time values. Thanks to Samuel Wales for reporting this bug.
This commit is contained in:
parent
cb658482c3
commit
7c466e470c
@ -2858,9 +2858,10 @@ ignores hidden links."
|
||||
;; If it is a timer list, convert timer to seconds
|
||||
((org-at-item-timer-p)
|
||||
(org-timer-hms-to-secs (match-string 1)))
|
||||
((or (re-search-forward org-ts-regexp (point-at-eol) t)
|
||||
(re-search-forward org-ts-regexp-both
|
||||
(point-at-eol) t))
|
||||
((or (save-excursion
|
||||
(re-search-forward org-ts-regexp (point-at-eol) t))
|
||||
(save-excursion (re-search-forward org-ts-regexp-both
|
||||
(point-at-eol) t)))
|
||||
(org-time-string-to-seconds (match-string 0)))
|
||||
(t (org-float-time now))))
|
||||
((= dcst ?f)
|
||||
|
Loading…
Reference in New Issue
Block a user