]> git.eshelyaron.com Git - emacs.git/commit
Make `q' in `org-agenda' work even with `debug-on-error' set
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 7 Aug 2021 10:55:39 +0000 (12:55 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 7 Aug 2021 10:55:39 +0000 (12:55 +0200)
commit6a3920c07eaae58408dd27e7db22bff7ad4d1f80
treed3a8b0f6e4b25cbd80d61b0cb0f5ac414b9ba27b
parent9a6fc638433c19021278616019ef5064740f86fe
Make `q' in `org-agenda' work even with `debug-on-error' set

* lisp/org/org-agenda.el (org-agenda-get-restriction-and-command):
Using `error' here will trigger users with `debug-on-error' so use
`user-error' instead (bug#49920).  It would probably be preferable
to rewrite this to not use the error system to do control flow.
lisp/org/org-agenda.el