summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authornoa2024-11-11 12:08:29 +0800
committernoa2024-11-11 12:08:29 +0800
commit56a0281105585123c944ced730452ab21a94cbd2 (patch)
treea865729b2e6703a24e506d6202c395d1b0a57b64 /emacs
parent81dbec71b0e2fed8b94dd06114ce93e344a841c6 (diff)
Nicer navigation in read only buffers
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 2ee3a1a..7f29d3c 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -922,3 +922,5 @@ The misspelled word is taken from OVERLAY.  WORD is the corrected word."
              ("bb" . bbdb-search-name)
              ("el" apply-partially #'hyperspace-action->info "(elisp)Top"))))
 
+(setopt view-read-only t)
+