If a link is within an agenda item, it ends up throwing a
‘org-element-at-point’ cannot be used in non-Org buffer #<buffer *Org Agenda*> (org-agenda-mode) when clicked. This is because mouse-2 is bound to org-open-at-mouse via the keymap text property. org-agenda-open-link still behaves like normal and opens the link fine. Minimum working example from emacs -Q: 1. Save a file with contents: * TODO Visit [[https://example.com]] 2. Add that file to org-agenda-files. 3. Run M-x org-todo-list. 4. Try to click the link. Emacs : GNU Emacs 31.0.50 (build 2, aarch64-apple-darwin24.6.0, NS appkit-2575.70 Version 15.7.3 (Build 24G419)) of 2025-12-24 Package: Org mode version 9.7.39 (9.7.39-b7bc0ed @ /Users/perry/.emacs.d/elpa/31.0/develop/org-9.7.39/) Thanks, ― Perry Fraser
