aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-10-23 10:34:28 +0200
committerLars Ingebrigtsen2019-10-23 10:34:35 +0200
commit5b111f85a244a71cd6c02f46166437f542ae01f7 (patch)
treef66d3f84cdc52a80cb77472fa4d0d87733dfd02d
parent68b531e99effeb905dac43c287c1c00bcc976715 (diff)
downloademacs-5b111f85a244a71cd6c02f46166437f542ae01f7.tar.gz
emacs-5b111f85a244a71cd6c02f46166437f542ae01f7.zip
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".
1142 1142
1143** Gnus 1143** Gnus
1144 1144
1145---
1146*** 'mm-uu-diff-groups-regexp' now defaults to matching all groups,
1147which means that "git am" diffs are recognised everywhere.
1148
1145+++ 1149+++
1146*** Two new Gnus summary mode navigation commands have been added, 1150*** Two new Gnus summary mode navigation commands have been added,
1147bound to the '[' and ']' keys: 'gnus-summary-prev-unseen-article' and 1151bound 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\".")
77 :type 'regexp 77 :type 'regexp
78 :group 'gnus-article-mime) 78 :group 'gnus-article-mime)
79 79
80(defcustom mm-uu-diff-groups-regexp 80(defcustom mm-uu-diff-groups-regexp "."
81 "\\(gmane\\|gnu\\)\\..*\\(diff\\|commit\\|cvs\\|bug\\|devel\\)"
82 "Regexp matching diff groups." 81 "Regexp matching diff groups."
83 :version "22.1" 82 :version "27.1"
84 :type 'regexp 83 :type 'regexp
85 :group 'gnus-article-mime) 84 :group 'gnus-article-mime)
86 85