]> git.eshelyaron.com Git - emacs.git/commitdiff
project--switch-project-command: Retouch
authorDmitry Gutov <dmitry@gutov.dev>
Fri, 20 Oct 2023 19:04:03 +0000 (22:04 +0300)
committerDmitry Gutov <dmitry@gutov.dev>
Fri, 20 Oct 2023 19:04:03 +0000 (22:04 +0300)
* lisp/progmodes/project.el (project--switch-project-command):
Remove outdated comment and clear the echo area at the end.

lisp/progmodes/project.el

index 0d6539113cc0cd78412dbedbdd800be54e45c4c9..fda1081eb62d17a5b6f73a7f17dcf7c4736c96f7 100644 (file)
@@ -2006,13 +2006,12 @@ Otherwise, use the face `help-key-binding' in the prompt."
           (when (numberp command) (setq command nil))
           (unless (or project-switch-use-entire-map
                       (assq command commands-menu))
-            ;; TODO: Add some hint to the prompt, like "key not
-            ;; recognized" or something.
             (setq command nil)))
         (let ((global-command (lookup-key (current-global-map) choice)))
           (when (memq global-command
                       '(keyboard-quit keyboard-escape-quit))
             (call-interactively global-command)))))
+    (message nil)
     command))
 
 ;;;###autoload