Bug fix for read-only buffers (like org-agenda), or times when there
sis no keymap present.