forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-emacs/d-mode: Fix compilation with Emacs 27.
Closes: https://bugs.gentoo.org/722012 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Ulrich Müller <[email protected]>
- Loading branch information
Showing
2 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
https://bugs.gentoo.org/722012 | ||
|
||
From cfd1d0869d51b7548b3fb738b2f2593c76533d44 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Per=20Nordl=C3=B6w?= <[email protected]> | ||
Date: Wed, 9 Oct 2019 11:03:00 +0200 | ||
Subject: [PATCH] Use rx-to-string instead of rx-form to support Emacs master | ||
(#97) | ||
|
||
--- | ||
d-mode.el | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/d-mode.el b/d-mode.el | ||
index f8211cd..df72b8d 100644 | ||
--- a/d-mode.el | ||
+++ b/d-mode.el | ||
@@ -210,7 +210,7 @@ The expression is added to `compilation-error-regexp-alist' and | ||
(add-to-list | ||
'compilation-error-regexp-alist-alist | ||
`(,symbol | ||
- ,(rx-form | ||
+ ,(rx-to-string | ||
`(and | ||
line-start | ||
(group-n 1 (one-or-more any)) ; File name |