From a5cf4300ad78adf0d1870cd4b01a83ee81b5151f Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 31 Aug 2019 13:00:50 -0400 Subject: emacs: add gnus-article-treat-patch (leave it disabled) TODO: figure out why it adds a whole bunch of blank lines to the top --- .emacs.d/init.el | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '.emacs.d/init.el') diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 31fd3e5..d889520 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -2186,6 +2186,14 @@ https://csclub.uwaterloo.ca/~abandali") (gnus-harvest-install 'message-x) (gnus-harvest-install)))) +(use-feature gnus-article-treat-patch + :disabled + :demand + :load-path "lisp/" + :config + (setq ft/gnus-article-patch-conditions + '("^@@ -[0-9]+,[0-9]+ \\+[0-9]+,[0-9]+ @@"))) + ;;; IRC (with ERC and ZNC) -- cgit v1.2.3-60-g2f50