Does anyone know what are the Emacs shortcut keys to write-protect the file in the buffer, and unprotect it?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
C-x C-qcallstoggle-read-only(documented here). This state prevents that modifications are made to the buffer and the buffer cannot be written to the file it is associated with (if any), but it will not change the writability on the OS level (e.g. other processes will still be able to write to the underlying file.