Set truncate-lines variable for search buffers.
authorKeith Packard <keithp@keithp.com>
Wed, 18 Nov 2009 08:12:31 +0000 (00:12 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 18 Nov 2009 22:29:55 +0000 (23:29 +0100)
This keeps them from wrapping.

Signed-off-by: Keith Packard <keithp@keithp.com>
notmuch.el

index f4b09e90729c6fd8451ce300bf1d672fdec3e9c9..59a5851bbcc4a95228b79340db78248ae4712ece 100644 (file)
@@ -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))