]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: Add a binding (t) to toggle the truncation of long lines.
authorDavid Edmondson <dme@dme.org>
Wed, 8 Feb 2012 08:02:15 +0000 (08:02 +0000)
committerDavid Bremner <bremner@debian.org>
Sun, 12 Feb 2012 16:58:21 +0000 (11:58 -0500)
emacs/notmuch-show.el

index 60fd21714573d834c92616c83ed4ab68d8bd2852..533cfa96dd8b89be115d84e85c889753dcd9b96a 100644 (file)
@@ -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 "!" '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)
        map)
       "Keymap for \"notmuch show\" buffers.")
 (fset 'notmuch-show-mode-map notmuch-show-mode-map)