From eeae6ed4bf965d7b7e022107c60da226cbb6d53c Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Fri, 7 Oct 2022 19:45:38 +0800 Subject: [PATCH] org-agenda-lisp: Add FIXME about let-binding `inhibit-redisplay' * lisp/org-agenda.el (org-agenda-list): The purpose of binding `inhibit-redisplay' is unclear and apparently not in git logs. --- lisp/org-agenda.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 6069c0ec6..86ed6a5f5 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -4409,6 +4409,9 @@ items if they have an hour specification like [h]h:mm." (- sd (+ (if (< d 0) 7 0) d))))) (day-numbers (list start)) (day-cnt 0) + ;; FIXME: This may cause confusion when users are trying to + ;; debug agenda. The debugger will not trigger without + ;; redisplay. (inhibit-redisplay (not debug-on-error)) (org-agenda-show-log-scoped org-agenda-show-log) s rtn rtnall file date d start-pos end-pos todayp ;; e