branch: externals-release/org commit 307e722dd9947aefd3c1e03452f5913bf9d68bfe Author: mosquito-magnet <24659697+mosquito-mag...@users.noreply.github.com> Commit: Bastien <b...@gnu.org>
org-agenda.el: Fix clocking issues regex * org-agenda.el (org-agenda-show-clocking-issues): Fix regex to prevent false-positive clocking issue detection. Regex was missing a grouping to restrict the alternative \| to the literal parentheses. TINYCHANGE --- lisp/org-agenda.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index d057947..c99ee2a 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -5986,7 +5986,7 @@ See also the user option `org-agenda-clock-consistency-checks'." '((:background "DarkRed") (:foreground "white")))) issue face m te ts dt ov) (goto-char (point-min)) - (while (re-search-forward " Clocked: +(-\\|\\([0-9]+:[0-9]+\\))" nil t) + (while (re-search-forward " Clocked: +(\\(?:-\\|\\([0-9]+:[0-9]+\\)\\))" nil t) (setq issue nil face def-face) (catch 'next (setq m (org-get-at-bol 'org-marker)