From: David Edmondson <dme@dme.org>
Date: Wed, 8 Feb 2012 08:02:15 +0000 (+0000)
Subject: emacs: Add a binding (t) to toggle the truncation of long lines.
X-Git-Tag: debian/0.12_rc1-1~87
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=7bcab5d645b166a4ef484b9b3af33e341660ae92;p=notmuch

emacs: Add a binding (t) to toggle the truncation of long lines.
---

diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index 60fd2171..533cfa96 100644
--- a/emacs/notmuch-show.el
+++ b/emacs/notmuch-show.el
@@ -1137,6 +1137,7 @@ Refreshes the current view, observing changes in cryptographic preferences."
 	(define-key map "!" 'notmuch-show-toggle-elide-non-matching)
 	(define-key map "$" 'notmuch-show-toggle-process-crypto)
 	(define-key map "<" 'notmuch-show-toggle-thread-indentation)
+	(define-key map "t" 'toggle-truncate-lines)
 	map)
       "Keymap for \"notmuch show\" buffers.")
 (fset 'notmuch-show-mode-map notmuch-show-mode-map)