summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/project.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index eab60756c8f..0e732864268 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -1386,8 +1386,8 @@ to directory DIR."
(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))