From 86f7ee24d6d0b15775b6f63f3bf88639e5be6e03 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Wed, 18 Nov 2009 00:12:31 -0800 Subject: [PATCH] Set truncate-lines variable for search buffers. This keeps them from wrapping. Signed-off-by: Keith Packard --- notmuch.el | 1 + 1 file changed, 1 insertion(+) diff --git a/notmuch.el b/notmuch.el index f4b09e90..59a5851b 100644 --- a/notmuch.el +++ b/notmuch.el @@ -772,6 +772,7 @@ global search. (set (make-local-variable 'scroll-preserve-screen-position) t) (add-to-invisibility-spec 'notmuch-search) (use-local-map notmuch-search-mode-map) + (setq truncate-lines t) (setq major-mode 'notmuch-search-mode mode-name "notmuch-search") (setq buffer-read-only t))