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.
This commit is contained in:
Ihor Radchenko 2022-10-07 19:45:38 +08:00
parent 86b6d843f6
commit eeae6ed4bf
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 3 additions and 0 deletions

View File

@ -4409,6 +4409,9 @@ items if they have an hour specification like [h]h:mm."
(- sd (+ (if (< d 0) 7 0) d))))) (- sd (+ (if (< d 0) 7 0) d)))))
(day-numbers (list start)) (day-numbers (list start))
(day-cnt 0) (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)) (inhibit-redisplay (not debug-on-error))
(org-agenda-show-log-scoped org-agenda-show-log) (org-agenda-show-log-scoped org-agenda-show-log)
s rtn rtnall file date d start-pos end-pos todayp ;; e s rtn rtnall file date d start-pos end-pos todayp ;; e