From 39a71c60f7223b34e63951f00fa9849a671ee105 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Wed, 2 Aug 2017 23:00:56 +0100 Subject: [PATCH] dot/emacs: Arrange that view-mode kills the buffer on exit by default. Yay. --- dot/emacs | 1 + 1 file changed, 1 insertion(+) diff --git a/dot/emacs b/dot/emacs index 69d48f2..2979786 100644 --- a/dot/emacs +++ b/dot/emacs @@ -344,6 +344,7 @@ truncate-lines t) (setq default-indicate-empty-lines t) (setq view-read-only t) +(setq-default view-exit-action #'kill-buffer) (setq whitespace-style '(trailing empty indentation face lines-tail space-before-tab space-after-tab) whitespace-line-column mdw-text-width) -- 2.11.0