The buffer chains the keymap mred:global-file-keymap to it's keymap and calls mred:set-keymap-error-handler and mred:set-keymap-implied-shifts on the keymap.
This file locks itself when the file it refers to is not writable and unlocks itself when it is.
Initializes the buffer's keymap, calling