diff options
| author | Lars Ingebrigtsen | 2019-10-23 10:34:28 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-10-23 10:34:35 +0200 |
| commit | 5b111f85a244a71cd6c02f46166437f542ae01f7 (patch) | |
| tree | f66d3f84cdc52a80cb77472fa4d0d87733dfd02d | |
| parent | 68b531e99effeb905dac43c287c1c00bcc976715 (diff) | |
| download | emacs-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/NEWS | 4 | ||||
| -rw-r--r-- | lisp/gnus/mm-uu.el | 5 |
2 files changed, 6 insertions, 3 deletions
| @@ -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, | ||
| 1147 | which 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, |
| 1147 | bound to the '[' and ']' keys: 'gnus-summary-prev-unseen-article' and | 1151 | 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\".") | |||
| 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 | ||