chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
68bb34f
)
dot/emacs: Arrange that view-mode kills the buffer on exit by default.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 2 Aug 2017 22:00:56 +0000
(23:00 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Wed, 2 Aug 2017 22:00:56 +0000
(23:00 +0100)
Yay.
dot/emacs
patch
|
blob
|
blame
|
history
diff --git
a/dot/emacs
b/dot/emacs
index 69d48f27cb9dcad309b692d8d8fe99aae6dde872..297978684a2fba61c2adee1ccef8ae3eedfb8b49 100644
(file)
--- a/
dot/emacs
+++ b/
dot/emacs
@@
-344,6
+344,7
@@
truncate-lines t)
(setq default-indicate-empty-lines t)
(setq view-read-only t)
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)
(setq whitespace-style '(trailing empty indentation face lines-tail
space-before-tab space-after-tab)
whitespace-line-column mdw-text-width)