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:
40421d0
)
dot/emacs: Add molly-guard against quitting long-term Emacsen.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 7 Mar 2018 18:35:21 +0000
(18:35 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Wed, 7 Mar 2018 18:35:21 +0000
(18:35 +0000)
dot/emacs
patch
|
blob
|
blame
|
history
diff --git
a/dot/emacs
b/dot/emacs
index ce9f4ad1a6a76b7705f8ec9013b53620d20ea3fd..0b5784b945bab065beaf65f2c0ad6d3910158e4e 100644
(file)
--- a/
dot/emacs
+++ b/
dot/emacs
@@
-351,6
+351,8
@@
(setq default-indicate-empty-lines t)
(setq view-read-only t)
(setq-default view-exit-action #'kill-buffer)
(setq default-indicate-empty-lines t)
(setq view-read-only t)
(setq-default view-exit-action #'kill-buffer)
+(and window-system (not mdw-fast-startup)
+ (setq confirm-kill-emacs #'yes-or-no-p))
(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)