diff options
-rw-r--r-- | emacs/custom/fcuny-edit.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/custom/fcuny-edit.el b/emacs/custom/fcuny-edit.el index 8ca5214..a65682b 100644 --- a/emacs/custom/fcuny-edit.el +++ b/emacs/custom/fcuny-edit.el @@ -36,4 +36,8 @@ ;; don't assume that sentences should have two spaces after period. (setq sentence-end-double-space nil) +;; switch to view-mode whenever you are in a read-only buffer (e.g. +;; switched to it using C-x C-q). +(setq view-read-only t) + (provide 'fcuny-edit) |