Read Only Files In Emacs
To mark files read-only in Emacs invoke M-x read-only-mode
or C-x C-q
while in the file.
To make files permanently read-only, add this to the top of the file:
# -*- buffer-read-only: t -*-
To mark files read-only in Emacs invoke M-x read-only-mode
or C-x C-q
while in the file.
To make files permanently read-only, add this to the top of the file:
# -*- buffer-read-only: t -*-