|
From: | David Hansen |
Subject: | Re: How to refresh a buffer? |
Date: | Mon, 05 Feb 2007 19:41:29 +0100 |
User-agent: | Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux) |
On 5 Feb 2007 08:40:41 -0800 Vols wrote: > I opened a file in Emacs and found it was read-only. I use the > terminal command "chmod +w file.cpp" to make it writable. After I > return to Emacs the file is still read-only. I have to close this file > and re-open it. > How to refresh this buffer? Thanks. `toggle-read-only' C-x C-q is what you need. You don't need to chmod the file then. Emacs will save it anyway (if it has the permission to do so) after confirmation. David
[Prev in Thread] | Current Thread | [Next in Thread] |