]> git.eshelyaron.com Git - emacs.git/commit
Add erc-compat adapter for xml-escape-string
authorF. Jason Park <jp@neverwas.me>
Tue, 11 Mar 2025 17:41:18 +0000 (10:41 -0700)
committerEshel Yaron <me@eshelyaron.com>
Wed, 12 Mar 2025 19:03:53 +0000 (20:03 +0100)
commit90ede4c02a102810b8ff3c2b50548a7a618c2a93
treef2c962d6f8734983b2d794412474d9f95029502a
parent9df331714fbb87eef26b336e931d4692ab69279e
Add erc-compat adapter for xml-escape-string

* lisp/erc/erc-compat.el (erc-compat--xml-escape-string): New macro to
call `xml-escape-string' sans the NO-ERROR argument on Emacs 27.
* lisp/erc/erc-desktop-notifications.el (erc-notifications-notify): Use
compat macro.

(cherry picked from commit dd1b11d34cd1389fe5ee0dd80784f9cd0d66026d)
lisp/erc/erc-compat.el
lisp/erc/erc-desktop-notifications.el