branch: externals/ement commit ef9c0e26887ab54ba0f3f482a23bd00de384ef78 Author: Adam Porter <a...@alphapapa.net> Commit: Adam Porter <a...@alphapapa.net>
Comment: Add TODO --- ement-room.el | 1 + 1 file changed, 1 insertion(+) diff --git a/ement-room.el b/ement-room.el index a86efcf62f..1aae3ab3ff 100644 --- a/ement-room.el +++ b/ement-room.el @@ -1919,6 +1919,7 @@ and erases the buffer." ement-ewoc (ewoc-create #'ement-room--pp-thing)) ;; Set the URL handler. Note that `browse-url-handlers' was added in 28.1; ;; prior to that `browse-url-browser-function' served double-duty. + ;; TODO: Remove compat code when requiring Emacs >=28. (let ((handler (cons ement-room-matrix.to-url-regexp #'ement-room-browse-url))) (if (boundp 'browse-url-handlers) (setq-local browse-url-handlers (cons handler browse-url-handlers))