[PATCH v1 1/4] emacs: wash: Wrap long lines after tidying citations

Subject: [PATCH v1 1/4] emacs: wash: Wrap long lines after tidying citations

Date: Sun, 27 Aug 2017 14:46:20 +0100

To: notmuch@notmuchmail.org

Cc:

From: David Edmondson


Citation tidying might change the length of some lines, making it more
appropriate to perform line wrapping after citation tidying rather
than before.
---
 emacs/notmuch-show.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index cd901e47..ffd2f687 100644
--- a/emacs/notmuch-show.el
+++ b/emacs/notmuch-show.el
@@ -90,15 +90,15 @@ visible for any given message."
   :group 'notmuch-show
   :group 'notmuch-hooks)
 
-(defcustom notmuch-show-insert-text/plain-hook '(notmuch-wash-wrap-long-lines
-						 notmuch-wash-tidy-citations
+(defcustom notmuch-show-insert-text/plain-hook '(notmuch-wash-tidy-citations
+						 notmuch-wash-wrap-long-lines
 						 notmuch-wash-elide-blank-lines
 						 notmuch-wash-excerpt-citations)
   "Functions used to improve the display of text/plain parts."
   :type 'hook
   :options '(notmuch-wash-convert-inline-patch-to-part
-	     notmuch-wash-wrap-long-lines
 	     notmuch-wash-tidy-citations
+	     notmuch-wash-wrap-long-lines
 	     notmuch-wash-elide-blank-lines
 	     notmuch-wash-excerpt-citations)
   :group 'notmuch-show
-- 
2.11.0

_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: