summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-10-23 10:34:28 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-10-23 10:34:35 +0200
commit5b111f85a244a71cd6c02f46166437f542ae01f7 (patch)
treef66d3f84cdc52a80cb77472fa4d0d87733dfd02d
parent68b531e99effeb905dac43c287c1c00bcc976715 (diff)
downloademacs-5b111f85a244a71cd6c02f46166437f542ae01f7.tar.gz
Make Gnus recognise "git am" diffs in all groups
* lisp/gnus/mm-uu.el (mm-uu-diff-groups-regexp): Recognise diffs in all groups (bug#32730).
-rw-r--r--etc/NEWS4
-rw-r--r--lisp/gnus/mm-uu.el5
2 files changed, 6 insertions, 3 deletions
diff --git a/etc/NEWS b/etc/NEWS
index c13d879f1a7..43411b7d4f1 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1142,6 +1142,10 @@ Of course it will still find it if you have it in "~/.ecompleterc".
** Gnus
+---
+*** 'mm-uu-diff-groups-regexp' now defaults to matching all groups,
+which means that "git am" diffs are recognised everywhere.
+
+++
*** Two new Gnus summary mode navigation commands have been added,
bound to the '[' and ']' keys: 'gnus-summary-prev-unseen-article' and
diff --git a/lisp/gnus/mm-uu.el b/lisp/gnus/mm-uu.el
index fec3986dedd..39cad57212d 100644
--- a/lisp/gnus/mm-uu.el
+++ b/lisp/gnus/mm-uu.el
@@ -77,10 +77,9 @@ This can be either \"inline\" or \"attachment\".")
:type 'regexp
:group 'gnus-article-mime)
-(defcustom mm-uu-diff-groups-regexp
- "\\(gmane\\|gnu\\)\\..*\\(diff\\|commit\\|cvs\\|bug\\|devel\\)"
+(defcustom mm-uu-diff-groups-regexp "."
"Regexp matching diff groups."
- :version "22.1"
+ :version "27.1"
:type 'regexp
:group 'gnus-article-mime)