X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch.el;h=1934ddfc4febf36e625dd67fd0486ddcbf2b6910;hp=59a5851bbcc4a95228b79340db78248ae4712ece;hb=adbdafbde289ebb724a31cf5ea82e1986ff88ccd;hpb=86f7ee24d6d0b15775b6f63f3bf88639e5be6e03 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.