Skip to content

Commit eeae6ed

Browse files
committed
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.
1 parent 86b6d84 commit eeae6ed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lisp/org-agenda.el

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4409,6 +4409,9 @@ items if they have an hour specification like [h]h:mm."
44094409
(- sd (+ (if (< d 0) 7 0) d)))))
44104410
(day-numbers (list start))
44114411
(day-cnt 0)
4412+
;; FIXME: This may cause confusion when users are trying to
4413+
;; debug agenda. The debugger will not trigger without
4414+
;; redisplay.
44124415
(inhibit-redisplay (not debug-on-error))
44134416
(org-agenda-show-log-scoped org-agenda-show-log)
44144417
s rtn rtnall file date d start-pos end-pos todayp ;; e

0 commit comments

Comments
 (0)