aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--notmuch.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/notmuch.el b/notmuch.el
index 59a5851b..1934ddfc 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -651,6 +651,14 @@ view, (remove the \"inbox\" tag from each), with
:options '(goto-address)
:group 'notmuch)
+; Make show mode a bit prettier, highlighting URLs and using word wrap
+
+(defun notmuch-show-pretty-hook ()
+ (goto-address-mode 1)
+ (visual-line-mode))
+
+(add-hook 'notmuch-show-hook 'notmuch-show-pretty-hook)
+
(defun notmuch-show (thread-id &optional parent-buffer)
"Run \"notmuch show\" with the given thread ID and display results.