"Susan G. Conger" <congers@yoeric.com> writes:
[...] The file is really unlocked but the buffer thinks that it is
still locked. I tried doing a C-X C-F to reread the file but it still
thought it was locked. How would I change the mac-unlock-file so that
it realizes that it can now edit the buffer and be able to save the
changes back to the file.
Oops, I forgot. You need to call toggle-read-only, or change
mac-unlock-current-file to call it for you.
(defun mac-unlock-current-file ()
(interactive)
(mac-unlock-file (buffer-file-name))
(toggle-read-only))