app-emacs/d-mode: Fix compilation with Emacs 27.
[gentoo.git] / app-emacs / d-mode / files / d-mode-2.0.10-rx-form.patch
1 https://bugs.gentoo.org/722012
2
3 From cfd1d0869d51b7548b3fb738b2f2593c76533d44 Mon Sep 17 00:00:00 2001
4 From: =?UTF-8?q?Per=20Nordl=C3=B6w?= <nordlow@users.noreply.github.com>
5 Date: Wed, 9 Oct 2019 11:03:00 +0200
6 Subject: [PATCH] Use rx-to-string instead of rx-form to support Emacs master
7  (#97)
8
9 ---
10  d-mode.el | 2 +-
11  1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/d-mode.el b/d-mode.el
14 index f8211cd..df72b8d 100644
15 --- a/d-mode.el
16 +++ b/d-mode.el
17 @@ -210,7 +210,7 @@ The expression is added to `compilation-error-regexp-alist' and
18    (add-to-list
19     'compilation-error-regexp-alist-alist
20     `(,symbol
21 -     ,(rx-form
22 +     ,(rx-to-string
23        `(and
24         line-start
25         (group-n 1 (one-or-more any))           ; File name