From b04f090f76e65f6e5f1615170b4a6ca29821a298 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Tue, 26 Apr 2016 18:50:55 +0100 Subject: [PATCH] dot/emacs: Turn on `view-read-only' by default. This is kind of imperfect (notably, if you press `q' then it buries the buffer, leaves it read-only, and next time you visit the file it comes up ordinary-read-only), but it's a good start. --- dot/emacs | 1 + 1 file changed, 1 insertion(+) diff --git a/dot/emacs b/dot/emacs index d783024..1d902a6 100644 --- a/dot/emacs +++ b/dot/emacs @@ -311,6 +311,7 @@ (setq-default truncate-partial-width-windows nil truncate-lines t) (setq default-indicate-empty-lines t) +(setq view-read-only t) (setq whitespace-style '(trailing space-before-tab space-after-tab empty indentation face)) (setq woman-use-own-frame nil ;Keep man pages somewhere sensible -- 2.11.0