This allows overriding-local-map to have effect on read-key-sequence.
(define-key temp-map (vector keychar) cmd)))))
command)
(while (not command)
- (let ((overriding-local-map commands-map)
- (choice (read-key-sequence (project--keymap-prompt))))
+ (let* ((overriding-local-map commands-map)
+ (choice (read-key-sequence (project--keymap-prompt))))
(when (setq command (lookup-key commands-map choice))
(unless (or project-switch-use-entire-map
(assq command commands-menu))