dot/emacs: Arrange that view-mode kills the buffer on exit by default.
[profile] / dot / emacs
index 69d48f2..2979786 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
              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)